. */ namespace GameQ\Protocols; /** * Serious Sam Protocol Class * * @author ZCaliptium */ class SeriousSam extends Gamespy { /** * String name of this protocol class * * @type string */ protected $name = 'serioussam'; /** * Longer string name of this protocol class * * @type string */ protected $name_long = "Serious Sam"; /** * query_port = client_port + 1 * * @type int */ protected $port_diff = 1; /** * Normalize settings for this protocol * * @type array */ protected $normalize = [ // General 'general' => [ // target => source 'dedicated' => 'dedicated', 'gametype' => 'gametype', 'hostname' => 'hostname', 'mapname' => 'mapname', 'maxplayers' => 'maxplayers', 'mod' => 'activemod', 'numplayers' => 'numplayers', 'password' => 'password', ], // Individual 'player' => [ 'name' => 'player', 'ping' => 'ping', 'score' => 'frags', ], ]; }