15declare(strict_types=1);
17namespace raklib\protocol;
22 public int $sendPingTime;
23 public int $sendPongTime;
25 public static function create(
int $sendPingTime,
int $sendPongTime) :
self{
27 $result->sendPingTime = $sendPingTime;
28 $result->sendPongTime = $sendPongTime;
33 $out->putLong($this->sendPingTime);
34 $out->putLong($this->sendPongTime);
38 $this->sendPingTime = $in->getLong();
39 $this->sendPongTime = $in->
getLong();
decodePayload(PacketSerializer $in)
const ID_CONNECTED_PONG
Pong from a connected system. Update timestamps (internal use only)