mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Added PhpDoc for packet field types and changed float x,y,z to Vector3
This commit is contained in:
@ -31,11 +31,17 @@ use pocketmine\network\mcpe\NetworkSession;
|
||||
class ContainerOpenPacket extends DataPacket{
|
||||
const NETWORK_ID = ProtocolInfo::CONTAINER_OPEN_PACKET;
|
||||
|
||||
/** @var int */
|
||||
public $windowId;
|
||||
/** @var int */
|
||||
public $type;
|
||||
/** @var int */
|
||||
public $x;
|
||||
/** @var int */
|
||||
public $y;
|
||||
/** @var int */
|
||||
public $z;
|
||||
/** @var int */
|
||||
public $entityUniqueId = -1;
|
||||
|
||||
protected function decodePayload(){
|
||||
|
Reference in New Issue
Block a user