raklib\protocol\CLIENT_CONNECT_DataPacket::encode PHP Method

encode() public method

public encode ( )
    public function encode()
    {
        parent::encode();
        $this->putLong($this->clientID);
        $this->putLong($this->sendPing);
        $this->putByte($this->useSecurity ? 1 : 0);
    }
CLIENT_CONNECT_DataPacket