Found some unknown things

This commit is contained in:
Dylan K. Taylor
2018-03-24 20:04:44 +00:00
parent 526f05631e
commit d97abfaa7b
7 changed files with 19 additions and 19 deletions

View File

@ -31,14 +31,14 @@ class WSConnectPacket extends DataPacket{
public const NETWORK_ID = ProtocolInfo::W_S_CONNECT_PACKET;
/** @var string */
public $string1;
public $serverUri;
protected function decodePayload(){
$this->string1 = $this->getString();
$this->serverUri = $this->getString();
}
protected function encodePayload(){
$this->putString($this->string1);
$this->putString($this->serverUri);
}
public function handle(NetworkSession $session) : bool{