|
| | decode () |
| |
| | encode () |
| |
| | getName () |
| |
| | pid () |
| |
| | encode () |
| |
| | decode () |
| |
| | reset () |
| |
| | clean () |
| |
| | __debugInfo () |
| |
| | getEntityMetadata (bool $types=true) |
| |
| | putEntityMetadata (array $metadata) |
| |
| | getName () |
| |
| | __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 () |
| |
◆ decode()
58 $this->
event = $this->
getByte();
◆ encode()
◆ getName()
- Returns
- PacketName|string
76 return "EntityEventPacket";
◆ $eid
◆ $event
◆ $unknown
◆ AMBIENT_SOUND
◆ DEATH_ANIMATION
| const DEATH_ANIMATION = 3 |
◆ EAT_GRASS_ANIMATION
| const EAT_GRASS_ANIMATION = 10 |
◆ FISH_HOOK_BUBBLE
| const FISH_HOOK_BUBBLE = 11 |
◆ FISH_HOOK_HOOK
| const FISH_HOOK_HOOK = 13 |
◆ FISH_HOOK_POSITION
| const FISH_HOOK_POSITION = 12 |
◆ FISH_HOOK_TEASE
| const FISH_HOOK_TEASE = 14 |
◆ HURT_ANIMATION
◆ NETWORK_ID
◆ RESPAWN
◆ SHAKE_WET
◆ SQUID_INK_CLOUD
| const SQUID_INK_CLOUD = 15 |
◆ TAME_FAIL
◆ TAME_SUCCESS
◆ USE_ITEM
The documentation for this class was generated from the following file:
- src/pocketmine/network/protocol/EntityEventPacket.php