mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Rename more unknown things in the protocol
This commit is contained in:
@ -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{
|
||||
|
Reference in New Issue
Block a user