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

@ -58,7 +58,7 @@ class TextPacket extends DataPacket{
/** @var string */
public $xboxUserId = "";
/** @var string */
public $string1 = "";
public $platformChatId = "";
protected function decodePayload(){
$this->type = $this->getByte();
@ -89,7 +89,7 @@ class TextPacket extends DataPacket{
}
$this->xboxUserId = $this->getString();
$this->string1 = $this->getString();
$this->platformChatId = $this->getString();
}
protected function encodePayload(){
@ -121,7 +121,7 @@ class TextPacket extends DataPacket{
}
$this->putString($this->xboxUserId);
$this->putString($this->string1);
$this->putString($this->platformChatId);
}
public function handle(NetworkSession $session) : bool{