Genisys  Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
PlayerActionPacket Class Reference
Inheritance diagram for PlayerActionPacket:
[legend]
Collaboration diagram for PlayerActionPacket:
[legend]

Public Member Functions

 decode ()
 
 encode ()
 
- Public Member Functions inherited from DataPacket
 pid ()
 
 encode ()
 
 decode ()
 
 reset ()
 
 clean ()
 
 __debugInfo ()
 
 getEntityMetadata (bool $types=true)
 
 putEntityMetadata (array $metadata)
 
- Public Member Functions inherited from BinaryStream
 __construct ($buffer="", $offset=0)
 
 reset ()
 
 setBuffer ($buffer=null, $offset=0)
 
 getOffset ()
 
 getBuffer ()
 
 get ($len)
 
 put ($str)
 
 getBool ()
 
 putBool ($v)
 
 getLong ()
 
 putLong ($v)
 
 getInt ()
 
 putInt ($v)
 
 getLLong ()
 
 putLLong ($v)
 
 getLInt ()
 
 putLInt ($v)
 
 getSignedShort ()
 
 putShort ($v)
 
 getShort ()
 
 putSignedShort ($v)
 
 getFloat (int $accuracy=-1)
 
 putFloat ($v)
 
 getLShort ($signed=true)
 
 putLShort ($v)
 
 getLFloat (int $accuracy=-1)
 
 putLFloat ($v)
 
 getTriad ()
 
 putTriad ($v)
 
 getLTriad ()
 
 putLTriad ($v)
 
 getByte ()
 
 putByte ($v)
 
 getUUID ()
 
 putUUID (UUID $uuid)
 
 getSlot ()
 
 putSlot (Item $item)
 
 getString ()
 
 putString ($v)
 
 getUnsignedVarInt ()
 
 putUnsignedVarInt ($v)
 
 getVarInt ()
 
 putVarInt ($v)
 
 getEntityId ()
 
 putEntityId ($v)
 
 getBlockCoords (&$x, &$y, &$z)
 
 putBlockCoords ($x, $y, $z)
 
 getVector3f (&$x, &$y, &$z)
 
 putVector3f ($x, $y, $z)
 
 feof ()
 

Data Fields

const NETWORK_ID = Info::PLAYER_ACTION_PACKET
 
const ACTION_START_BREAK = 0
 
const ACTION_ABORT_BREAK = 1
 
const ACTION_STOP_BREAK = 2
 
const ACTION_RELEASE_ITEM = 5
 
const ACTION_STOP_SLEEPING = 6
 
const ACTION_SPAWN_SAME_DIMENSION = 7
 
const ACTION_JUMP = 8
 
const ACTION_START_SPRINT = 9
 
const ACTION_STOP_SPRINT = 10
 
const ACTION_START_SNEAK = 11
 
const ACTION_STOP_SNEAK = 12
 
const ACTION_SPAWN_OVERWORLD = 13
 
const ACTION_SPAWN_NETHER = 14
 
const ACTION_START_GLIDE = 15
 
const ACTION_STOP_GLIDE = 16
 
 $eid
 
 $action
 
 $x
 
 $y
 
 $z
 
 $face
 
- Data Fields inherited from DataPacket
const NETWORK_ID = 0
 
 $isEncoded = false
 
- Data Fields inherited from BinaryStream
 $offset
 
 $buffer
 

The documentation for this class was generated from the following file: