15declare(strict_types=1);
17namespace raklib\protocol;
23 public int $sendPingTime;
24 public bool $useSecurity =
false;
27 $out->putLong($this->clientID);
28 $out->putLong($this->sendPingTime);
29 $out->putByte($this->useSecurity ? 1 : 0);
33 $this->clientID = $in->getLong();
34 $this->sendPingTime = $in->
getLong();
35 $this->useSecurity = $in->
getByte() !== 0;
decodePayload(PacketSerializer $in)
const ID_CONNECTION_REQUEST
C2S: Header(1), GUID(8), Timestamp, HasSecurity(1), Proof(32)