◆ __get()
pocketmine\network\mcpe\protocol\DataPacket::__get |
( |
| $name | ) |
|
|
inherited |
◆ __set()
pocketmine\network\mcpe\protocol\DataPacket::__set |
( |
| $name, |
|
|
| $value ) |
|
inherited |
◆ canBeSentBeforeLogin()
pocketmine\network\mcpe\protocol\DataPacket::canBeSentBeforeLogin |
( |
| ) |
|
|
inherited |
◆ decode()
◆ decodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
PacketSerializer | $in | ) |
|
|
protectedinherited |
- Exceptions
-
BinaryDataException | |
PacketDecodeException | |
Definition at line 62 of file DataPacket.php.
◆ decodePayload()
pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::decodePayload |
( |
PacketSerializer | $in | ) |
|
|
protected |
◆ encode()
◆ encodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
PacketSerializer | $out | ) |
|
|
protectedinherited |
◆ encodePayload()
pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::encodePayload |
( |
PacketSerializer | $out | ) |
|
|
protected |
◆ getName()
pocketmine\network\mcpe\protocol\DataPacket::getName |
( |
| ) |
|
|
inherited |
◆ handle()
Performs handling for this packet. Usually you'll want an appropriately named method in the session handler for this.
This method returns a bool to indicate whether the packet was handled or not. If the packet was unhandled, a debug message will be logged with a hexdump of the packet.
Typically this method returns the return value of the handler in the supplied PacketHandler. See other packets for examples how to implement this.
- Returns
- bool true if the packet was handled successfully, false if not.
- Exceptions
-
PacketDecodeException | if broken data was found in the packet |
Implements pocketmine\network\mcpe\protocol\Packet.
Definition at line 68 of file LegacyTelemetryEventPacket.php.
◆ pid()
pocketmine\network\mcpe\protocol\DataPacket::pid |
( |
| ) |
|
|
inherited |
◆ $eventData
int pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::$eventData |
◆ $playerRuntimeId
int pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::$playerRuntimeId |
◆ $recipientSubId
int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 |
|
inherited |
◆ $senderSubId
int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 |
|
inherited |
◆ $type
int pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::$type |
◆ NETWORK_ID
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::NETWORK_ID = ProtocolInfo::LEGACY_TELEMETRY_EVENT_PACKET |
◆ PID_MASK
const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
◆ TYPE_ACHIEVEMENT_AWARDED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_ACHIEVEMENT_AWARDED = 0 |
◆ TYPE_ACTOR_DEFINITION
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_ACTOR_DEFINITION = 18 |
◆ TYPE_AGENT_COMMAND
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_AGENT_COMMAND = 8 |
◆ TYPE_AGENT_CREATED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_AGENT_CREATED = 9 |
◆ TYPE_BELL_BLOCK_USED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_BELL_BLOCK_USED = 17 |
◆ TYPE_BOSS_KILLED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_BOSS_KILLED = 7 |
◆ TYPE_CAULDRON_BLOCK_USED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_CAULDRON_BLOCK_USED = 15 |
◆ TYPE_CAULDRON_USED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_CAULDRON_USED = 5 |
◆ TYPE_COMMANED_EXECUTED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_COMMANED_EXECUTED = 11 |
◆ TYPE_COMPOSTER_BLOCK_USED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_COMPOSTER_BLOCK_USED = 16 |
◆ TYPE_ENTITY_INTERACT
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_ENTITY_INTERACT = 1 |
◆ TYPE_FISH_BUCKETED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_FISH_BUCKETED = 12 |
◆ TYPE_HONEY_HARVESTED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_HONEY_HARVESTED = 22 |
◆ TYPE_MOB_BORN
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_MOB_BORN = 13 |
◆ TYPE_MOB_KILLED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_MOB_KILLED = 4 |
◆ TYPE_PATTERN_REMOVED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_PATTERN_REMOVED = 10 |
◆ TYPE_PET_DIED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_PET_DIED = 14 |
◆ TYPE_PIGLIN_BARTER
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_PIGLIN_BARTER = 24 |
◆ TYPE_PLAYER_DEATH
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_PLAYER_DEATH = 6 |
◆ TYPE_PLAYER_MOVEMENT_ANOMALY
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_PLAYER_MOVEMENT_ANOMALY = 20 |
◆ TYPE_PLAYER_MOVEMENT_CORRECTED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_PLAYER_MOVEMENT_CORRECTED = 21 |
◆ TYPE_PORTAL_BUILT
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_PORTAL_BUILT = 2 |
◆ TYPE_PORTAL_USED
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_PORTAL_USED = 3 |
◆ TYPE_RAID_UPDATE
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_RAID_UPDATE = 19 |
◆ TYPE_TARGET_BLOCK_HIT
const pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket::TYPE_TARGET_BLOCK_HIT = 23 |
The documentation for this class was generated from the following file: