Updated for 1.2.0.22

This commit is contained in:
Dylan K. Taylor
2017-08-22 11:35:56 +01:00
parent 121777375e
commit 4250e99e3a
5 changed files with 39 additions and 27 deletions

View File

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