extends |
Protocol |
---|
Teeworlds Protocol class Only supports versions > 0.5
Methods | ||
---|---|---|
public
|
processResponse(): array
|
# |
protected
|
processAll(Buffer $buffer): array
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [self::PACKET_ALL => "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x67\x69\x65\x33\x05"]
|
# |
protected
|
array
|
$responses = ["\xff\xff\xff\xff\xff\xff\xff\xff\xff\xffinf35" => "processAll"]
|
# |
protected
|
string
|
$protocol = 'teeworlds'
|
# |
protected
|
string
|
$name = 'teeworlds'
|
# |
protected
|
string
|
$name_long = "Teeworlds Server"
|
# |
protected
|
string
|
$join_link = "steam://connect/%s:%d/"
|
# |
protected
|
array
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'hostname' => 'hostname',
'mapname' => 'map',
'maxplayers' => 'num_players_total',
],
'player' => ['name' => 'name', 'score' => 'score'],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $transport, $process_methods, $packets_response, $result, $options, $state, |