updates for 1.2.0.11

This commit is contained in:
Dylan K. Taylor
2017-08-10 11:15:23 +01:00
parent bb4808c23e
commit 9bae4d8ef6
4 changed files with 28 additions and 4 deletions

View File

@ -31,13 +31,19 @@ class ShowStoreOfferPacket extends DataPacket{
const NETWORK_ID = ProtocolInfo::SHOW_STORE_OFFER_PACKET;
public $offerId;
public $unknownBool;
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{