mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
updates for 1.2.0.11
This commit is contained in:
@ -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{
|
||||
|
Reference in New Issue
Block a user