Метод | Описание | |
---|---|---|
__construct ( |
||
broadcastPacket ( array $players, synapse\network\protocol\spp\DataPacket $packet, $direct = false ) | ||
connect ( ) | ||
getClientData ( ) | ||
getDescription ( ) : string | ||
getGenisysServer ( ) | ||
getHash ( ) : string | ||
getInstance ( ) | ||
getInterface ( ) | ||
getLogger ( ) | ||
getPacket ( $buffer ) | ||
getPort ( ) : integer | ||
getServerIp ( ) : string | ||
handleDataPacket ( synapse\network\protocol\spp\DataPacket $pk ) | ||
isMainServer ( ) : boolean | ||
removePlayer ( |
||
sendDataPacket ( synapse\network\protocol\spp\DataPacket $pk ) | ||
setDescription ( string $description ) | ||
shutdown ( ) | ||
tick ( ) |
public __construct ( |
||
$server | ||
$config | array |
public broadcastPacket ( array $players, synapse\network\protocol\spp\DataPacket $packet, $direct = false ) | ||
$players | array | |
$packet | synapse\network\protocol\spp\DataPacket |
public handleDataPacket ( synapse\network\protocol\spp\DataPacket $pk ) | ||
$pk | synapse\network\protocol\spp\DataPacket |
public sendDataPacket ( synapse\network\protocol\spp\DataPacket $pk ) | ||
$pk | synapse\network\protocol\spp\DataPacket |