15declare(strict_types=1);
17namespace raklib\protocol;
22 public int $sendPingTime;
24 public string $serverName;
26 public static function create(
int $sendPingTime,
int $serverId,
string $serverName) :
self{
28 $result->sendPingTime = $sendPingTime;
29 $result->serverId = $serverId;
30 $result->serverName = $serverName;
35 $out->putLong($this->sendPingTime);
36 $out->putLong($this->serverId);
38 $out->putString($this->serverName);
42 $this->sendPingTime = $in->getLong();
43 $this->serverId = $in->
getLong();
writeMagic(BinaryStream $out)
readMagic(BinaryStream $in)
decodePayload(PacketSerializer $in)
const ID_UNCONNECTED_PONG