Properties |
protected
|
|
$packets = [self::PACKET_STATUS => "\xFF\xFF\xFF\xFFgetinfo xxx"]
Array of packets we want to look up.
Each key should correspond to a defined method in this or a parent class
Array of packets we want to look up.
Each key should correspond to a defined method in this or a parent class
|
#
|
protected
|
|
$responses = ["\xFF\xFF\xFF\xFFinfoResponse" => "processStatus"]
Use the response flag to figure out what method to run
Use the response flag to figure out what method to run
|
#
|
protected
|
|
$protocol = 'cfx'
The query protocol used to make the call
The query protocol used to make the call
|
#
|
protected
|
|
$name = 'cfx'
String name of this protocol class
String name of this protocol class
|
#
|
protected
|
|
$name_long = "CitizenFX"
Longer string name of this protocol class
Longer string name of this protocol class
|
#
|
protected
|
string
|
$PlayerList = []
|
#
|
protected
|
|
$normalize = [
'general' => [
'gametype' => 'gametype',
'hostname' => 'hostname',
'mapname' => 'mapname',
'maxplayers' => 'sv_maxclients',
'mod' => 'gamename',
'numplayers' => 'clients',
'password' => 'privateClients',
],
]
Normalize settings for this protocol
Normalize settings for this protocol
|
#
|