Rename more unknown things in the protocol

This commit is contained in:
Dylan K. Taylor
2018-04-07 11:34:59 +01:00
parent 5b532fdcf5
commit db5890fddb
4 changed files with 13 additions and 13 deletions

View File

@ -33,16 +33,16 @@ class ShowStoreOfferPacket extends DataPacket{
/** @var string */
public $offerId;
/** @var bool */
public $unknownBool;
public $showAll;
protected function decodePayload(){
$this->offerId = $this->getString();
$this->unknownBool = $this->getBool();
$this->showAll = $this->getBool();
}
protected function encodePayload(){
$this->putString($this->offerId);
$this->putBool($this->unknownBool);
$this->putBool($this->showAll);
}
public function handle(NetworkSession $session) : bool{