extends |
Protocol |
---|
Ventrilo Protocol Class Note that a password is not required for versions >= 3.0.3 All values are utf8 encoded upon processing This code ported from GameQ v1/v2. Credit to original author(s) as I just updated it to work within this new system.
Methods | ||
---|---|---|
public
|
processResponse(): array
|
# |
protected
|
decryptPackets(array $packets = []): string
|
# |
protected
|
processChannel(string $data, int $fieldCount, Result &$result): void
|
# |
protected
|
processPlayer(string $data, int $fieldCount, Result &$result): void
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [
self::PACKET_ALL => "V\xc8\xf4\xf9`\xa2\x1e\xa5M\xfb\x03\xccQN\xa1\x10\x95\xaf\xb2g\x17g\x812\xfbW\xfd\x8e\xd2\x22r\x034z\xbb\x98",
]
|
# |
protected
|
string
|
$protocol = 'ventrilo'
|
# |
protected
|
string
|
$name = 'ventrilo'
|
# |
protected
|
string
|
$name_long = "Ventrilo"
|
# |
protected
|
string
|
$join_link = "ventrilo://%s:%d/"
|
# |
protected
|
array
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'password' => 'auth',
'hostname' => 'name',
'numplayers' => 'clientcount',
'maxplayers' => 'maxclients',
],
'player' => ['team' => 'cid', 'name' => 'name'],
'team' => ['id' => 'cid', 'name' => 'name'],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $transport, $responses, $process_methods, $packets_response, $result, $options, $state, |