|
| 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()
152 $this->sound = $this->
getByte();
156 $this->unknownBool = $this->
getBool();
157 $this->unknownBool2 = $this->
getBool();
◆ encode()
169 $this->
putBool($this->unknownBool);
170 $this->
putBool($this->unknownBool2);
◆ getName()
- Returns
- PacketName|string
177 return "LevelSoundEventPacket";
◆ $extraData
◆ $pitch
◆ $sound
◆ $unknownBool
◆ $unknownBool2
◆ $x
◆ $y
◆ $z
◆ NETWORK_ID
◆ SOUND_ADD_CHEST
const SOUND_ADD_CHEST = 37 |
◆ SOUND_AMBIENT
◆ SOUND_AMBIENT_BABY
const SOUND_AMBIENT_BABY = 10 |
◆ SOUND_AMBIENT_IN_WATER
const SOUND_AMBIENT_IN_WATER = 11 |
◆ SOUND_ARMOR
◆ SOUND_ATTACH
◆ SOUND_ATTACK
◆ SOUND_ATTACK_NODAMAGE
const SOUND_ATTACK_NODAMAGE = 40 |
◆ SOUND_BOOST
◆ SOUND_BOW
◆ SOUND_BOW_HIT
◆ SOUND_BREAK
◆ SOUND_BREAK_BLOCK
const SOUND_BREAK_BLOCK = 52 |
◆ SOUND_BREATHE
◆ SOUND_BUCKET_EMPTY_LAVA
const SOUND_BUCKET_EMPTY_LAVA = 84 |
◆ SOUND_BUCKET_EMPTY_WATER
const SOUND_BUCKET_EMPTY_WATER = 83 |
◆ SOUND_BUCKET_FILL_LAVA
const SOUND_BUCKET_FILL_LAVA = 82 |
◆ SOUND_BUCKET_FILL_WATER
const SOUND_BUCKET_FILL_WATER = 81 |
◆ SOUND_BULLET_HIT
const SOUND_BULLET_HIT = 57 |
◆ SOUND_BURP
◆ SOUND_CAMERA_TAKE_PICTURE
const SOUND_CAMERA_TAKE_PICTURE = 105 |
◆ SOUND_CAST_SPELL
const SOUND_CAST_SPELL = 99 |
◆ SOUND_CHARGE
◆ SOUND_CHEST_CLOSED
const SOUND_CHEST_CLOSED = 61 |
◆ SOUND_CHEST_OPEN
const SOUND_CHEST_OPEN = 60 |
◆ SOUND_CHORUSDEATH
const SOUND_CHORUSDEATH = 97 |
◆ SOUND_CHORUSGROW
const SOUND_CHORUSGROW = 96 |
◆ SOUND_DEATH
◆ SOUND_DEATH_IN_WATER
const SOUND_DEATH_IN_WATER = 14 |
◆ SOUND_DEATH_TO_ZOMBIE
const SOUND_DEATH_TO_ZOMBIE = 15 |
◆ SOUND_DEFAULT
const SOUND_DEFAULT = 106 |
◆ SOUND_DENY
◆ SOUND_DETACH
◆ SOUND_DRINK
◆ SOUND_DROP_SLOT
const SOUND_DROP_SLOT = 71 |
◆ SOUND_EAT
◆ SOUND_ELDERGUARDIAN_CURSE
const SOUND_ELDERGUARDIAN_CURSE = 86 |
◆ SOUND_EXPLODE
◆ SOUND_EXTINGUISH_FIRE
const SOUND_EXTINGUISH_FIRE = 58 |
◆ SOUND_FALL
◆ SOUND_FALL_BIG
const SOUND_FALL_BIG = 23 |
◆ SOUND_FALL_SMALL
const SOUND_FALL_SMALL = 24 |
◆ SOUND_FANG
◆ SOUND_FIRE
◆ SOUND_FIZZ
◆ SOUND_FLAP
◆ SOUND_FUSE
◆ SOUND_GALLOP
◆ SOUND_GLASS
◆ SOUND_GUARDIAN_FLOP
const SOUND_GUARDIAN_FLOP = 85 |
◆ SOUND_HAGGLE
◆ SOUND_HAGGLE_IDLE
const SOUND_HAGGLE_IDLE = 95 |
◆ SOUND_HAGGLE_NO
const SOUND_HAGGLE_NO = 94 |
◆ SOUND_HAGGLE_YES
const SOUND_HAGGLE_YES = 93 |
◆ SOUND_HEAVY_STEP
const SOUND_HEAVY_STEP = 6 |
◆ SOUND_HIT
◆ SOUND_HURT
◆ SOUND_HURT_IN_WATER
const SOUND_HURT_IN_WATER = 17 |
◆ SOUND_IGNITE
◆ SOUND_ITEM_FIZZ
const SOUND_ITEM_FIZZ = 59 |
◆ SOUND_ITEM_USE_ON
const SOUND_ITEM_USE_ON = 0 |
◆ SOUND_JUMP
◆ SOUND_LAND
◆ SOUND_LAVA
◆ SOUND_LAVA_POP
const SOUND_LAVA_POP = 78 |
◆ SOUND_LEVELUP
◆ SOUND_MAD
◆ SOUND_MILK
◆ SOUND_MOB_WARNING
const SOUND_MOB_WARNING = 87 |
◆ SOUND_MOB_WARNING_BABY
const SOUND_MOB_WARNING_BABY = 88 |
◆ SOUND_NOTE
◆ SOUND_PISTON_IN
const SOUND_PISTON_IN = 74 |
◆ SOUND_PISTON_OUT
const SOUND_PISTON_OUT = 75 |
◆ SOUND_PLACE
◆ SOUND_PLOP
◆ SOUND_POP
◆ SOUND_PORTAL
◆ SOUND_POWER_OFF
const SOUND_POWER_OFF = 65 |
◆ SOUND_POWER_ON
const SOUND_POWER_ON = 64 |
◆ SOUND_PREPARE_ATTACK
const SOUND_PREPARE_ATTACK = 100 |
◆ SOUND_PREPARE_SUMMON
const SOUND_PREPARE_SUMMON = 101 |
◆ SOUND_PREPARE_WOLOLO
const SOUND_PREPARE_WOLOLO = 102 |
◆ SOUND_REMEDY
◆ SOUND_SADDLE
◆ SOUND_SHAKE
◆ SOUND_SHEAR
◆ SOUND_SHOOT
◆ SOUND_SHULKER_CLOSE
const SOUND_SHULKER_CLOSE = 91 |
◆ SOUND_SHULKER_OPEN
const SOUND_SHULKER_OPEN = 90 |
◆ SOUND_SHULKERBOX_CLOSED
const SOUND_SHULKERBOX_CLOSED = 63 |
◆ SOUND_SHULKERBOX_OPEN
const SOUND_SHULKERBOX_OPEN = 62 |
◆ SOUND_SPAWN
◆ SOUND_SPLASH
◆ SOUND_SQUISH_BIG
const SOUND_SQUISH_BIG = 21 |
◆ SOUND_SQUISH_SMALL
const SOUND_SQUISH_SMALL = 22 |
◆ SOUND_STARE
◆ SOUND_STEP
◆ SOUND_SWIM
◆ SOUND_TAKEOFF
◆ SOUND_TELEPORT
const SOUND_TELEPORT = 89 |
◆ SOUND_THORNS
◆ SOUND_THROW
◆ SOUND_THUNDER
◆ SOUND_TRIPOD
◆ SOUND_UNDEFINED
const SOUND_UNDEFINED = 107 |
◆ SOUND_UNFECT
◆ SOUND_WARN
◆ SOUND_WATER
The documentation for this class was generated from the following file:
- src/pocketmine/network/mcpe/protocol/LevelSoundEventPacket.php