. */ namespace GameQ\Protocols; /** * Class Battalion 1944 * * @package GameQ\Protocols * @author TacTicToe66 */ class Batt1944 extends Source { /** * String name of this protocol class * * @type string */ protected $name = 'batt1944'; /** * Longer string name of this protocol class * * @type string */ protected $name_long = "Battalion 1944"; /** * query_port = client_port + 3 * * @type int */ protected $port_diff = 3; /** * Normalize main fields * * @var array */ protected $normalize = [ // General 'general' => [ // target => source 'gametype' => 'bat_gamemode_s', 'hostname' => 'bat_name_s', 'mapname' => 'bat_map_s', 'maxplayers' => 'bat_max_players_i', 'numplayers' => 'bat_player_count_s', 'password' => 'bat_has_password_s', ], ]; }