mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Added PhpDoc for packet field types and changed float x,y,z to Vector3
This commit is contained in:
@ -31,9 +31,13 @@ use pocketmine\network\mcpe\NetworkSession;
|
||||
class PlayerInputPacket extends DataPacket{
|
||||
const NETWORK_ID = ProtocolInfo::PLAYER_INPUT_PACKET;
|
||||
|
||||
/** @var float */
|
||||
public $motionX;
|
||||
/** @var float */
|
||||
public $motionY;
|
||||
/** @var bool */
|
||||
public $unknownBool1;
|
||||
/** @var bool */
|
||||
public $unknownBool2;
|
||||
|
||||
protected function decodePayload(){
|
||||
|
Reference in New Issue
Block a user