Inherits pocketmine\network\mcpe\protocol\Packet.
Inherited by pocketmine\network\mcpe\protocol\ActorEventPacket, pocketmine\network\mcpe\protocol\ActorPickRequestPacket, pocketmine\network\mcpe\protocol\AddActorPacket, pocketmine\network\mcpe\protocol\AddBehaviorTreePacket, pocketmine\network\mcpe\protocol\AddItemActorPacket, pocketmine\network\mcpe\protocol\AddPaintingPacket, pocketmine\network\mcpe\protocol\AddPlayerPacket, pocketmine\network\mcpe\protocol\AddVolumeEntityPacket, pocketmine\network\mcpe\protocol\AgentActionEventPacket, pocketmine\network\mcpe\protocol\AgentAnimationPacket, pocketmine\network\mcpe\protocol\AnimateEntityPacket, pocketmine\network\mcpe\protocol\AnimatePacket, pocketmine\network\mcpe\protocol\AnvilDamagePacket, pocketmine\network\mcpe\protocol\AutomationClientConnectPacket, pocketmine\network\mcpe\protocol\AvailableActorIdentifiersPacket, pocketmine\network\mcpe\protocol\AvailableCommandsPacket, pocketmine\network\mcpe\protocol\AwardAchievementPacket, pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket, pocketmine\network\mcpe\protocol\BlockActorDataPacket, pocketmine\network\mcpe\protocol\BlockEventPacket, pocketmine\network\mcpe\protocol\BlockPickRequestPacket, pocketmine\network\mcpe\protocol\BookEditPacket, pocketmine\network\mcpe\protocol\BossEventPacket, pocketmine\network\mcpe\protocol\CameraAimAssistPacket, pocketmine\network\mcpe\protocol\CameraInstructionPacket, pocketmine\network\mcpe\protocol\CameraPacket, pocketmine\network\mcpe\protocol\CameraPresetsPacket, pocketmine\network\mcpe\protocol\CameraShakePacket, pocketmine\network\mcpe\protocol\ChangeDimensionPacket, pocketmine\network\mcpe\protocol\ChangeMobPropertyPacket, pocketmine\network\mcpe\protocol\ChunkRadiusUpdatedPacket, pocketmine\network\mcpe\protocol\ClientCacheBlobStatusPacket, pocketmine\network\mcpe\protocol\ClientCacheMissResponsePacket, pocketmine\network\mcpe\protocol\ClientCacheStatusPacket, pocketmine\network\mcpe\protocol\ClientToServerHandshakePacket, pocketmine\network\mcpe\protocol\ClientboundCloseFormPacket, pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket, pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket, pocketmine\network\mcpe\protocol\CodeBuilderPacket, pocketmine\network\mcpe\protocol\CodeBuilderSourcePacket, pocketmine\network\mcpe\protocol\CommandBlockUpdatePacket, pocketmine\network\mcpe\protocol\CommandOutputPacket, pocketmine\network\mcpe\protocol\CommandRequestPacket, pocketmine\network\mcpe\protocol\CompletedUsingItemPacket, pocketmine\network\mcpe\protocol\CompressedBiomeDefinitionListPacket, pocketmine\network\mcpe\protocol\ContainerClosePacket, pocketmine\network\mcpe\protocol\ContainerOpenPacket, pocketmine\network\mcpe\protocol\ContainerRegistryCleanupPacket, pocketmine\network\mcpe\protocol\ContainerSetDataPacket, pocketmine\network\mcpe\protocol\CorrectPlayerMovePredictionPacket, pocketmine\network\mcpe\protocol\CraftingDataPacket, pocketmine\network\mcpe\protocol\CreatePhotoPacket, pocketmine\network\mcpe\protocol\CreativeContentPacket, pocketmine\network\mcpe\protocol\CurrentStructureFeaturePacket, pocketmine\network\mcpe\protocol\DeathInfoPacket, pocketmine\network\mcpe\protocol\DebugInfoPacket, pocketmine\network\mcpe\protocol\DimensionDataPacket, pocketmine\network\mcpe\protocol\DisconnectPacket, pocketmine\network\mcpe\protocol\EditorNetworkPacket, pocketmine\network\mcpe\protocol\EduUriResourcePacket, pocketmine\network\mcpe\protocol\EducationSettingsPacket, pocketmine\network\mcpe\protocol\EmoteListPacket, pocketmine\network\mcpe\protocol\EmotePacket, pocketmine\network\mcpe\protocol\FeatureRegistryPacket, pocketmine\network\mcpe\protocol\GameRulesChangedPacket, pocketmine\network\mcpe\protocol\GameTestRequestPacket, pocketmine\network\mcpe\protocol\GameTestResultsPacket, pocketmine\network\mcpe\protocol\GuiDataPickItemPacket, pocketmine\network\mcpe\protocol\HurtArmorPacket, pocketmine\network\mcpe\protocol\InteractPacket, pocketmine\network\mcpe\protocol\InventoryContentPacket, pocketmine\network\mcpe\protocol\InventorySlotPacket, pocketmine\network\mcpe\protocol\InventoryTransactionPacket, pocketmine\network\mcpe\protocol\ItemComponentPacket, pocketmine\network\mcpe\protocol\ItemStackRequestPacket, pocketmine\network\mcpe\protocol\ItemStackResponsePacket, pocketmine\network\mcpe\protocol\JigsawStructureDataPacket, pocketmine\network\mcpe\protocol\LabTablePacket, pocketmine\network\mcpe\protocol\LecternUpdatePacket, pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket, pocketmine\network\mcpe\protocol\LessonProgressPacket, pocketmine\network\mcpe\protocol\LevelChunkPacket, pocketmine\network\mcpe\protocol\LevelEventGenericPacket, pocketmine\network\mcpe\protocol\LevelEventPacket, pocketmine\network\mcpe\protocol\LevelSoundEventPacket, pocketmine\network\mcpe\protocol\LevelSoundEventPacketV1, pocketmine\network\mcpe\protocol\LevelSoundEventPacketV2, pocketmine\network\mcpe\protocol\LoginPacket, pocketmine\network\mcpe\protocol\MapCreateLockedCopyPacket, pocketmine\network\mcpe\protocol\MapInfoRequestPacket, pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket, pocketmine\network\mcpe\protocol\MobEffectPacket, pocketmine\network\mcpe\protocol\MobEquipmentPacket, pocketmine\network\mcpe\protocol\ModalFormRequestPacket, pocketmine\network\mcpe\protocol\ModalFormResponsePacket, pocketmine\network\mcpe\protocol\MotionPredictionHintsPacket, pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket, pocketmine\network\mcpe\protocol\MoveActorDeltaPacket, pocketmine\network\mcpe\protocol\MovePlayerPacket, pocketmine\network\mcpe\protocol\MovementEffectPacket, pocketmine\network\mcpe\protocol\MultiplayerSettingsPacket, pocketmine\network\mcpe\protocol\NetworkChunkPublisherUpdatePacket, pocketmine\network\mcpe\protocol\NetworkSettingsPacket, pocketmine\network\mcpe\protocol\NetworkStackLatencyPacket, pocketmine\network\mcpe\protocol\NpcDialoguePacket, pocketmine\network\mcpe\protocol\NpcRequestPacket, pocketmine\network\mcpe\protocol\OnScreenTextureAnimationPacket, pocketmine\network\mcpe\protocol\OpenSignPacket, pocketmine\network\mcpe\protocol\PacketViolationWarningPacket, pocketmine\network\mcpe\protocol\PassengerJumpPacket, pocketmine\network\mcpe\protocol\PhotoTransferPacket, pocketmine\network\mcpe\protocol\PlaySoundPacket, pocketmine\network\mcpe\protocol\PlayStatusPacket, pocketmine\network\mcpe\protocol\PlayerActionPacket, pocketmine\network\mcpe\protocol\PlayerArmorDamagePacket, pocketmine\network\mcpe\protocol\PlayerAuthInputPacket, pocketmine\network\mcpe\protocol\PlayerEnchantOptionsPacket, pocketmine\network\mcpe\protocol\PlayerFogPacket, pocketmine\network\mcpe\protocol\PlayerHotbarPacket, pocketmine\network\mcpe\protocol\PlayerInputPacket, pocketmine\network\mcpe\protocol\PlayerListPacket, pocketmine\network\mcpe\protocol\PlayerSkinPacket, pocketmine\network\mcpe\protocol\PlayerStartItemCooldownPacket, pocketmine\network\mcpe\protocol\PlayerToggleCrafterSlotRequestPacket, pocketmine\network\mcpe\protocol\PositionTrackingDBClientRequestPacket, pocketmine\network\mcpe\protocol\PositionTrackingDBServerBroadcastPacket, pocketmine\network\mcpe\protocol\PurchaseReceiptPacket, pocketmine\network\mcpe\protocol\RefreshEntitlementsPacket, pocketmine\network\mcpe\protocol\RemoveActorPacket, pocketmine\network\mcpe\protocol\RemoveObjectivePacket, pocketmine\network\mcpe\protocol\RemoveVolumeEntityPacket, pocketmine\network\mcpe\protocol\RequestAbilityPacket, pocketmine\network\mcpe\protocol\RequestChunkRadiusPacket, pocketmine\network\mcpe\protocol\RequestNetworkSettingsPacket, pocketmine\network\mcpe\protocol\RequestPermissionsPacket, pocketmine\network\mcpe\protocol\ResourcePackChunkDataPacket, pocketmine\network\mcpe\protocol\ResourcePackChunkRequestPacket, pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket, pocketmine\network\mcpe\protocol\ResourcePackDataInfoPacket, pocketmine\network\mcpe\protocol\ResourcePackStackPacket, pocketmine\network\mcpe\protocol\ResourcePacksInfoPacket, pocketmine\network\mcpe\protocol\RespawnPacket, pocketmine\network\mcpe\protocol\ScriptMessagePacket, pocketmine\network\mcpe\protocol\ServerPlayerPostMovePositionPacket, pocketmine\network\mcpe\protocol\ServerSettingsRequestPacket, pocketmine\network\mcpe\protocol\ServerSettingsResponsePacket, pocketmine\network\mcpe\protocol\ServerStatsPacket, pocketmine\network\mcpe\protocol\ServerToClientHandshakePacket, pocketmine\network\mcpe\protocol\ServerboundDiagnosticsPacket, pocketmine\network\mcpe\protocol\ServerboundLoadingScreenPacket, pocketmine\network\mcpe\protocol\SetActorDataPacket, pocketmine\network\mcpe\protocol\SetActorLinkPacket, pocketmine\network\mcpe\protocol\SetActorMotionPacket, pocketmine\network\mcpe\protocol\SetCommandsEnabledPacket, pocketmine\network\mcpe\protocol\SetDefaultGameTypePacket, pocketmine\network\mcpe\protocol\SetDifficultyPacket, pocketmine\network\mcpe\protocol\SetDisplayObjectivePacket, pocketmine\network\mcpe\protocol\SetHealthPacket, pocketmine\network\mcpe\protocol\SetHudPacket, pocketmine\network\mcpe\protocol\SetLastHurtByPacket, pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket, pocketmine\network\mcpe\protocol\SetMovementAuthorityPacket, pocketmine\network\mcpe\protocol\SetPlayerGameTypePacket, pocketmine\network\mcpe\protocol\SetPlayerInventoryOptionsPacket, pocketmine\network\mcpe\protocol\SetScorePacket, pocketmine\network\mcpe\protocol\SetScoreboardIdentityPacket, pocketmine\network\mcpe\protocol\SetSpawnPositionPacket, pocketmine\network\mcpe\protocol\SetTimePacket, pocketmine\network\mcpe\protocol\SetTitlePacket, pocketmine\network\mcpe\protocol\SettingsCommandPacket, pocketmine\network\mcpe\protocol\ShowCreditsPacket, pocketmine\network\mcpe\protocol\ShowProfilePacket, pocketmine\network\mcpe\protocol\ShowStoreOfferPacket, pocketmine\network\mcpe\protocol\SimpleEventPacket, pocketmine\network\mcpe\protocol\SimulationTypePacket, pocketmine\network\mcpe\protocol\SpawnExperienceOrbPacket, pocketmine\network\mcpe\protocol\SpawnParticleEffectPacket, pocketmine\network\mcpe\protocol\StartGamePacket, pocketmine\network\mcpe\protocol\StopSoundPacket, pocketmine\network\mcpe\protocol\StructureBlockUpdatePacket, pocketmine\network\mcpe\protocol\StructureTemplateDataRequestPacket, pocketmine\network\mcpe\protocol\StructureTemplateDataResponsePacket, pocketmine\network\mcpe\protocol\SubChunkPacket, pocketmine\network\mcpe\protocol\SubChunkRequestPacket, pocketmine\network\mcpe\protocol\SubClientLoginPacket, pocketmine\network\mcpe\protocol\SyncActorPropertyPacket, pocketmine\network\mcpe\protocol\TakeItemActorPacket, pocketmine\network\mcpe\protocol\TextPacket, pocketmine\network\mcpe\protocol\TickingAreasLoadStatusPacket, pocketmine\network\mcpe\protocol\ToastRequestPacket, pocketmine\network\mcpe\protocol\TransferPacket, pocketmine\network\mcpe\protocol\TrimDataPacket, pocketmine\network\mcpe\protocol\UnlockedRecipesPacket, pocketmine\network\mcpe\protocol\UpdateAbilitiesPacket, pocketmine\network\mcpe\protocol\UpdateAdventureSettingsPacket, pocketmine\network\mcpe\protocol\UpdateAttributesPacket, pocketmine\network\mcpe\protocol\UpdateBlockPacket, pocketmine\network\mcpe\protocol\UpdateClientInputLocksPacket, pocketmine\network\mcpe\protocol\UpdateEquipPacket, pocketmine\network\mcpe\protocol\UpdatePlayerGameTypePacket, pocketmine\network\mcpe\protocol\UpdateSoftEnumPacket, pocketmine\network\mcpe\protocol\UpdateSubChunkBlocksPacket, and pocketmine\network\mcpe\protocol\UpdateTradePacket.
Definition at line 21 of file DataPacket.php.
◆ __get()
pocketmine\network\mcpe\protocol\DataPacket::__get |
( |
| $name | ) |
|
◆ __set()
pocketmine\network\mcpe\protocol\DataPacket::__set |
( |
| $name, |
|
|
| $value ) |
◆ canBeSentBeforeLogin()
pocketmine\network\mcpe\protocol\DataPacket::canBeSentBeforeLogin |
( |
| ) |
|
◆ decode()
◆ decodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
PacketSerializer | $in | ) |
|
|
protected |
- Exceptions
-
BinaryDataException | |
PacketDecodeException | |
Definition at line 62 of file DataPacket.php.
◆ decodePayload()
pocketmine\network\mcpe\protocol\DataPacket::decodePayload |
( |
PacketSerializer | $in | ) |
|
|
abstractprotected |
Decodes the packet body, without the packet ID or other generic header fields.
- Exceptions
-
PacketDecodeException | |
BinaryDataException | |
Reimplemented in pocketmine\network\mcpe\protocol\ActorEventPacket, pocketmine\network\mcpe\protocol\ActorPickRequestPacket, pocketmine\network\mcpe\protocol\AddActorPacket, pocketmine\network\mcpe\protocol\AddBehaviorTreePacket, pocketmine\network\mcpe\protocol\AddItemActorPacket, pocketmine\network\mcpe\protocol\AddPaintingPacket, pocketmine\network\mcpe\protocol\AddPlayerPacket, pocketmine\network\mcpe\protocol\AddVolumeEntityPacket, pocketmine\network\mcpe\protocol\AgentActionEventPacket, pocketmine\network\mcpe\protocol\AgentAnimationPacket, pocketmine\network\mcpe\protocol\AnimateEntityPacket, pocketmine\network\mcpe\protocol\AnimatePacket, pocketmine\network\mcpe\protocol\AnvilDamagePacket, pocketmine\network\mcpe\protocol\AutomationClientConnectPacket, pocketmine\network\mcpe\protocol\AvailableActorIdentifiersPacket, pocketmine\network\mcpe\protocol\AvailableCommandsPacket, pocketmine\network\mcpe\protocol\AwardAchievementPacket, pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket, pocketmine\network\mcpe\protocol\BlockActorDataPacket, pocketmine\network\mcpe\protocol\BlockEventPacket, pocketmine\network\mcpe\protocol\BlockPickRequestPacket, pocketmine\network\mcpe\protocol\BookEditPacket, pocketmine\network\mcpe\protocol\BossEventPacket, pocketmine\network\mcpe\protocol\CameraAimAssistPacket, pocketmine\network\mcpe\protocol\CameraInstructionPacket, pocketmine\network\mcpe\protocol\CameraPacket, pocketmine\network\mcpe\protocol\CameraPresetsPacket, pocketmine\network\mcpe\protocol\CameraShakePacket, pocketmine\network\mcpe\protocol\ChangeDimensionPacket, pocketmine\network\mcpe\protocol\ChangeMobPropertyPacket, pocketmine\network\mcpe\protocol\ChunkRadiusUpdatedPacket, pocketmine\network\mcpe\protocol\ClientboundCloseFormPacket, pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket, pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket, pocketmine\network\mcpe\protocol\ClientCacheBlobStatusPacket, pocketmine\network\mcpe\protocol\ClientCacheMissResponsePacket, pocketmine\network\mcpe\protocol\ClientCacheStatusPacket, pocketmine\network\mcpe\protocol\ClientToServerHandshakePacket, pocketmine\network\mcpe\protocol\CodeBuilderPacket, pocketmine\network\mcpe\protocol\CodeBuilderSourcePacket, pocketmine\network\mcpe\protocol\CommandBlockUpdatePacket, pocketmine\network\mcpe\protocol\CommandOutputPacket, pocketmine\network\mcpe\protocol\CommandRequestPacket, pocketmine\network\mcpe\protocol\CompletedUsingItemPacket, pocketmine\network\mcpe\protocol\CompressedBiomeDefinitionListPacket, pocketmine\network\mcpe\protocol\ContainerClosePacket, pocketmine\network\mcpe\protocol\ContainerOpenPacket, pocketmine\network\mcpe\protocol\ContainerRegistryCleanupPacket, pocketmine\network\mcpe\protocol\ContainerSetDataPacket, pocketmine\network\mcpe\protocol\CorrectPlayerMovePredictionPacket, pocketmine\network\mcpe\protocol\CraftingDataPacket, pocketmine\network\mcpe\protocol\CreatePhotoPacket, pocketmine\network\mcpe\protocol\CreativeContentPacket, pocketmine\network\mcpe\protocol\CurrentStructureFeaturePacket, pocketmine\network\mcpe\protocol\DeathInfoPacket, pocketmine\network\mcpe\protocol\DebugInfoPacket, pocketmine\network\mcpe\protocol\DimensionDataPacket, pocketmine\network\mcpe\protocol\DisconnectPacket, pocketmine\network\mcpe\protocol\EditorNetworkPacket, pocketmine\network\mcpe\protocol\EducationSettingsPacket, pocketmine\network\mcpe\protocol\EduUriResourcePacket, pocketmine\network\mcpe\protocol\EmoteListPacket, pocketmine\network\mcpe\protocol\EmotePacket, pocketmine\network\mcpe\protocol\FeatureRegistryPacket, pocketmine\network\mcpe\protocol\GameRulesChangedPacket, pocketmine\network\mcpe\protocol\GameTestRequestPacket, pocketmine\network\mcpe\protocol\GameTestResultsPacket, pocketmine\network\mcpe\protocol\GuiDataPickItemPacket, pocketmine\network\mcpe\protocol\HurtArmorPacket, pocketmine\network\mcpe\protocol\InteractPacket, pocketmine\network\mcpe\protocol\InventoryContentPacket, pocketmine\network\mcpe\protocol\InventorySlotPacket, pocketmine\network\mcpe\protocol\InventoryTransactionPacket, pocketmine\network\mcpe\protocol\ItemComponentPacket, pocketmine\network\mcpe\protocol\ItemStackRequestPacket, pocketmine\network\mcpe\protocol\ItemStackResponsePacket, pocketmine\network\mcpe\protocol\JigsawStructureDataPacket, pocketmine\network\mcpe\protocol\LabTablePacket, pocketmine\network\mcpe\protocol\LecternUpdatePacket, pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket, pocketmine\network\mcpe\protocol\LessonProgressPacket, pocketmine\network\mcpe\protocol\LevelChunkPacket, pocketmine\network\mcpe\protocol\LevelEventGenericPacket, pocketmine\network\mcpe\protocol\LevelEventPacket, pocketmine\network\mcpe\protocol\LevelSoundEventPacket, pocketmine\network\mcpe\protocol\LevelSoundEventPacketV1, pocketmine\network\mcpe\protocol\LevelSoundEventPacketV2, pocketmine\network\mcpe\protocol\LoginPacket, pocketmine\network\mcpe\protocol\MapCreateLockedCopyPacket, pocketmine\network\mcpe\protocol\MapInfoRequestPacket, pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket, pocketmine\network\mcpe\protocol\MobEffectPacket, pocketmine\network\mcpe\protocol\MobEquipmentPacket, pocketmine\network\mcpe\protocol\ModalFormRequestPacket, pocketmine\network\mcpe\protocol\ModalFormResponsePacket, pocketmine\network\mcpe\protocol\MotionPredictionHintsPacket, pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket, pocketmine\network\mcpe\protocol\MoveActorDeltaPacket, pocketmine\network\mcpe\protocol\MovementEffectPacket, pocketmine\network\mcpe\protocol\MovePlayerPacket, pocketmine\network\mcpe\protocol\MultiplayerSettingsPacket, pocketmine\network\mcpe\protocol\NetworkChunkPublisherUpdatePacket, pocketmine\network\mcpe\protocol\NetworkSettingsPacket, pocketmine\network\mcpe\protocol\NetworkStackLatencyPacket, pocketmine\network\mcpe\protocol\NpcDialoguePacket, pocketmine\network\mcpe\protocol\NpcRequestPacket, pocketmine\network\mcpe\protocol\OnScreenTextureAnimationPacket, pocketmine\network\mcpe\protocol\OpenSignPacket, pocketmine\network\mcpe\protocol\PacketViolationWarningPacket, pocketmine\network\mcpe\protocol\PassengerJumpPacket, pocketmine\network\mcpe\protocol\PhotoTransferPacket, pocketmine\network\mcpe\protocol\PlayerActionPacket, pocketmine\network\mcpe\protocol\PlayerArmorDamagePacket, pocketmine\network\mcpe\protocol\PlayerAuthInputPacket, pocketmine\network\mcpe\protocol\PlayerEnchantOptionsPacket, pocketmine\network\mcpe\protocol\PlayerFogPacket, pocketmine\network\mcpe\protocol\PlayerHotbarPacket, pocketmine\network\mcpe\protocol\PlayerInputPacket, pocketmine\network\mcpe\protocol\PlayerListPacket, pocketmine\network\mcpe\protocol\PlayerSkinPacket, pocketmine\network\mcpe\protocol\PlayerStartItemCooldownPacket, pocketmine\network\mcpe\protocol\PlayerToggleCrafterSlotRequestPacket, pocketmine\network\mcpe\protocol\PlaySoundPacket, pocketmine\network\mcpe\protocol\PlayStatusPacket, pocketmine\network\mcpe\protocol\PositionTrackingDBClientRequestPacket, pocketmine\network\mcpe\protocol\PositionTrackingDBServerBroadcastPacket, pocketmine\network\mcpe\protocol\PurchaseReceiptPacket, pocketmine\network\mcpe\protocol\RefreshEntitlementsPacket, pocketmine\network\mcpe\protocol\RemoveActorPacket, pocketmine\network\mcpe\protocol\RemoveObjectivePacket, pocketmine\network\mcpe\protocol\RemoveVolumeEntityPacket, pocketmine\network\mcpe\protocol\RequestAbilityPacket, pocketmine\network\mcpe\protocol\RequestChunkRadiusPacket, pocketmine\network\mcpe\protocol\RequestNetworkSettingsPacket, pocketmine\network\mcpe\protocol\RequestPermissionsPacket, pocketmine\network\mcpe\protocol\ResourcePackChunkDataPacket, pocketmine\network\mcpe\protocol\ResourcePackChunkRequestPacket, pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket, pocketmine\network\mcpe\protocol\ResourcePackDataInfoPacket, pocketmine\network\mcpe\protocol\ResourcePacksInfoPacket, pocketmine\network\mcpe\protocol\ResourcePackStackPacket, pocketmine\network\mcpe\protocol\RespawnPacket, pocketmine\network\mcpe\protocol\ScriptMessagePacket, pocketmine\network\mcpe\protocol\ServerboundDiagnosticsPacket, pocketmine\network\mcpe\protocol\ServerboundLoadingScreenPacket, pocketmine\network\mcpe\protocol\ServerPlayerPostMovePositionPacket, pocketmine\network\mcpe\protocol\ServerSettingsRequestPacket, pocketmine\network\mcpe\protocol\ServerSettingsResponsePacket, pocketmine\network\mcpe\protocol\ServerStatsPacket, pocketmine\network\mcpe\protocol\ServerToClientHandshakePacket, pocketmine\network\mcpe\protocol\SetActorDataPacket, pocketmine\network\mcpe\protocol\SetActorLinkPacket, pocketmine\network\mcpe\protocol\SetActorMotionPacket, pocketmine\network\mcpe\protocol\SetCommandsEnabledPacket, pocketmine\network\mcpe\protocol\SetDefaultGameTypePacket, pocketmine\network\mcpe\protocol\SetDifficultyPacket, pocketmine\network\mcpe\protocol\SetDisplayObjectivePacket, pocketmine\network\mcpe\protocol\SetHealthPacket, pocketmine\network\mcpe\protocol\SetHudPacket, pocketmine\network\mcpe\protocol\SetLastHurtByPacket, pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket, pocketmine\network\mcpe\protocol\SetMovementAuthorityPacket, pocketmine\network\mcpe\protocol\SetPlayerGameTypePacket, pocketmine\network\mcpe\protocol\SetPlayerInventoryOptionsPacket, pocketmine\network\mcpe\protocol\SetScoreboardIdentityPacket, pocketmine\network\mcpe\protocol\SetScorePacket, pocketmine\network\mcpe\protocol\SetSpawnPositionPacket, pocketmine\network\mcpe\protocol\SetTimePacket, pocketmine\network\mcpe\protocol\SettingsCommandPacket, pocketmine\network\mcpe\protocol\SetTitlePacket, pocketmine\network\mcpe\protocol\ShowCreditsPacket, pocketmine\network\mcpe\protocol\ShowProfilePacket, pocketmine\network\mcpe\protocol\ShowStoreOfferPacket, pocketmine\network\mcpe\protocol\SimpleEventPacket, pocketmine\network\mcpe\protocol\SimulationTypePacket, pocketmine\network\mcpe\protocol\SpawnExperienceOrbPacket, pocketmine\network\mcpe\protocol\SpawnParticleEffectPacket, pocketmine\network\mcpe\protocol\StartGamePacket, pocketmine\network\mcpe\protocol\StopSoundPacket, pocketmine\network\mcpe\protocol\StructureBlockUpdatePacket, pocketmine\network\mcpe\protocol\StructureTemplateDataRequestPacket, pocketmine\network\mcpe\protocol\StructureTemplateDataResponsePacket, pocketmine\network\mcpe\protocol\SubChunkPacket, pocketmine\network\mcpe\protocol\SubChunkRequestPacket, pocketmine\network\mcpe\protocol\SubClientLoginPacket, pocketmine\network\mcpe\protocol\SyncActorPropertyPacket, pocketmine\network\mcpe\protocol\TakeItemActorPacket, pocketmine\network\mcpe\protocol\TextPacket, pocketmine\network\mcpe\protocol\TickingAreasLoadStatusPacket, pocketmine\network\mcpe\protocol\ToastRequestPacket, pocketmine\network\mcpe\protocol\TransferPacket, pocketmine\network\mcpe\protocol\TrimDataPacket, pocketmine\network\mcpe\protocol\UnlockedRecipesPacket, pocketmine\network\mcpe\protocol\UpdateAbilitiesPacket, pocketmine\network\mcpe\protocol\UpdateAdventureSettingsPacket, pocketmine\network\mcpe\protocol\UpdateAttributesPacket, pocketmine\network\mcpe\protocol\UpdateBlockPacket, pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket, pocketmine\network\mcpe\protocol\UpdateClientInputLocksPacket, pocketmine\network\mcpe\protocol\UpdateEquipPacket, pocketmine\network\mcpe\protocol\UpdatePlayerGameTypePacket, pocketmine\network\mcpe\protocol\UpdateSoftEnumPacket, pocketmine\network\mcpe\protocol\UpdateSubChunkBlocksPacket, and pocketmine\network\mcpe\protocol\UpdateTradePacket.
◆ encode()
◆ encodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
PacketSerializer | $out | ) |
|
|
protected |
◆ encodePayload()
pocketmine\network\mcpe\protocol\DataPacket::encodePayload |
( |
PacketSerializer | $out | ) |
|
|
abstractprotected |
Encodes the packet body, without the packet ID or other generic header fields.
Reimplemented in pocketmine\network\mcpe\protocol\ActorEventPacket, pocketmine\network\mcpe\protocol\ActorPickRequestPacket, pocketmine\network\mcpe\protocol\AddActorPacket, pocketmine\network\mcpe\protocol\AddBehaviorTreePacket, pocketmine\network\mcpe\protocol\AddItemActorPacket, pocketmine\network\mcpe\protocol\AddPaintingPacket, pocketmine\network\mcpe\protocol\AddPlayerPacket, pocketmine\network\mcpe\protocol\AddVolumeEntityPacket, pocketmine\network\mcpe\protocol\AgentActionEventPacket, pocketmine\network\mcpe\protocol\AgentAnimationPacket, pocketmine\network\mcpe\protocol\AnimateEntityPacket, pocketmine\network\mcpe\protocol\AnimatePacket, pocketmine\network\mcpe\protocol\AnvilDamagePacket, pocketmine\network\mcpe\protocol\AutomationClientConnectPacket, pocketmine\network\mcpe\protocol\AvailableActorIdentifiersPacket, pocketmine\network\mcpe\protocol\AvailableCommandsPacket, pocketmine\network\mcpe\protocol\AwardAchievementPacket, pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket, pocketmine\network\mcpe\protocol\BlockActorDataPacket, pocketmine\network\mcpe\protocol\BlockEventPacket, pocketmine\network\mcpe\protocol\BlockPickRequestPacket, pocketmine\network\mcpe\protocol\BookEditPacket, pocketmine\network\mcpe\protocol\BossEventPacket, pocketmine\network\mcpe\protocol\CameraAimAssistPacket, pocketmine\network\mcpe\protocol\CameraInstructionPacket, pocketmine\network\mcpe\protocol\CameraPacket, pocketmine\network\mcpe\protocol\CameraPresetsPacket, pocketmine\network\mcpe\protocol\CameraShakePacket, pocketmine\network\mcpe\protocol\ChangeDimensionPacket, pocketmine\network\mcpe\protocol\ChangeMobPropertyPacket, pocketmine\network\mcpe\protocol\ChunkRadiusUpdatedPacket, pocketmine\network\mcpe\protocol\ClientboundCloseFormPacket, pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket, pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket, pocketmine\network\mcpe\protocol\ClientCacheBlobStatusPacket, pocketmine\network\mcpe\protocol\ClientCacheMissResponsePacket, pocketmine\network\mcpe\protocol\ClientCacheStatusPacket, pocketmine\network\mcpe\protocol\ClientToServerHandshakePacket, pocketmine\network\mcpe\protocol\CodeBuilderPacket, pocketmine\network\mcpe\protocol\CodeBuilderSourcePacket, pocketmine\network\mcpe\protocol\CommandBlockUpdatePacket, pocketmine\network\mcpe\protocol\CommandOutputPacket, pocketmine\network\mcpe\protocol\CommandRequestPacket, pocketmine\network\mcpe\protocol\CompletedUsingItemPacket, pocketmine\network\mcpe\protocol\CompressedBiomeDefinitionListPacket, pocketmine\network\mcpe\protocol\ContainerClosePacket, pocketmine\network\mcpe\protocol\ContainerOpenPacket, pocketmine\network\mcpe\protocol\ContainerRegistryCleanupPacket, pocketmine\network\mcpe\protocol\ContainerSetDataPacket, pocketmine\network\mcpe\protocol\CorrectPlayerMovePredictionPacket, pocketmine\network\mcpe\protocol\CraftingDataPacket, pocketmine\network\mcpe\protocol\CreatePhotoPacket, pocketmine\network\mcpe\protocol\CreativeContentPacket, pocketmine\network\mcpe\protocol\CurrentStructureFeaturePacket, pocketmine\network\mcpe\protocol\DeathInfoPacket, pocketmine\network\mcpe\protocol\DebugInfoPacket, pocketmine\network\mcpe\protocol\DimensionDataPacket, pocketmine\network\mcpe\protocol\DisconnectPacket, pocketmine\network\mcpe\protocol\EditorNetworkPacket, pocketmine\network\mcpe\protocol\EducationSettingsPacket, pocketmine\network\mcpe\protocol\EduUriResourcePacket, pocketmine\network\mcpe\protocol\EmoteListPacket, pocketmine\network\mcpe\protocol\EmotePacket, pocketmine\network\mcpe\protocol\FeatureRegistryPacket, pocketmine\network\mcpe\protocol\GameRulesChangedPacket, pocketmine\network\mcpe\protocol\GameTestRequestPacket, pocketmine\network\mcpe\protocol\GameTestResultsPacket, pocketmine\network\mcpe\protocol\GuiDataPickItemPacket, pocketmine\network\mcpe\protocol\HurtArmorPacket, pocketmine\network\mcpe\protocol\InteractPacket, pocketmine\network\mcpe\protocol\InventoryContentPacket, pocketmine\network\mcpe\protocol\InventorySlotPacket, pocketmine\network\mcpe\protocol\InventoryTransactionPacket, pocketmine\network\mcpe\protocol\ItemComponentPacket, pocketmine\network\mcpe\protocol\ItemStackRequestPacket, pocketmine\network\mcpe\protocol\ItemStackResponsePacket, pocketmine\network\mcpe\protocol\JigsawStructureDataPacket, pocketmine\network\mcpe\protocol\LabTablePacket, pocketmine\network\mcpe\protocol\LecternUpdatePacket, pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket, pocketmine\network\mcpe\protocol\LessonProgressPacket, pocketmine\network\mcpe\protocol\LevelChunkPacket, pocketmine\network\mcpe\protocol\LevelEventGenericPacket, pocketmine\network\mcpe\protocol\LevelEventPacket, pocketmine\network\mcpe\protocol\LevelSoundEventPacket, pocketmine\network\mcpe\protocol\LevelSoundEventPacketV1, pocketmine\network\mcpe\protocol\LevelSoundEventPacketV2, pocketmine\network\mcpe\protocol\LoginPacket, pocketmine\network\mcpe\protocol\MapCreateLockedCopyPacket, pocketmine\network\mcpe\protocol\MapInfoRequestPacket, pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket, pocketmine\network\mcpe\protocol\MobEffectPacket, pocketmine\network\mcpe\protocol\MobEquipmentPacket, pocketmine\network\mcpe\protocol\ModalFormRequestPacket, pocketmine\network\mcpe\protocol\ModalFormResponsePacket, pocketmine\network\mcpe\protocol\MotionPredictionHintsPacket, pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket, pocketmine\network\mcpe\protocol\MoveActorDeltaPacket, pocketmine\network\mcpe\protocol\MovementEffectPacket, pocketmine\network\mcpe\protocol\MovePlayerPacket, pocketmine\network\mcpe\protocol\MultiplayerSettingsPacket, pocketmine\network\mcpe\protocol\NetworkChunkPublisherUpdatePacket, pocketmine\network\mcpe\protocol\NetworkSettingsPacket, pocketmine\network\mcpe\protocol\NetworkStackLatencyPacket, pocketmine\network\mcpe\protocol\NpcDialoguePacket, pocketmine\network\mcpe\protocol\NpcRequestPacket, pocketmine\network\mcpe\protocol\OnScreenTextureAnimationPacket, pocketmine\network\mcpe\protocol\OpenSignPacket, pocketmine\network\mcpe\protocol\PacketViolationWarningPacket, pocketmine\network\mcpe\protocol\PassengerJumpPacket, pocketmine\network\mcpe\protocol\PhotoTransferPacket, pocketmine\network\mcpe\protocol\PlayerActionPacket, pocketmine\network\mcpe\protocol\PlayerArmorDamagePacket, pocketmine\network\mcpe\protocol\PlayerAuthInputPacket, pocketmine\network\mcpe\protocol\PlayerEnchantOptionsPacket, pocketmine\network\mcpe\protocol\PlayerFogPacket, pocketmine\network\mcpe\protocol\PlayerHotbarPacket, pocketmine\network\mcpe\protocol\PlayerInputPacket, pocketmine\network\mcpe\protocol\PlayerListPacket, pocketmine\network\mcpe\protocol\PlayerSkinPacket, pocketmine\network\mcpe\protocol\PlayerStartItemCooldownPacket, pocketmine\network\mcpe\protocol\PlayerToggleCrafterSlotRequestPacket, pocketmine\network\mcpe\protocol\PlaySoundPacket, pocketmine\network\mcpe\protocol\PlayStatusPacket, pocketmine\network\mcpe\protocol\PositionTrackingDBClientRequestPacket, pocketmine\network\mcpe\protocol\PositionTrackingDBServerBroadcastPacket, pocketmine\network\mcpe\protocol\PurchaseReceiptPacket, pocketmine\network\mcpe\protocol\RefreshEntitlementsPacket, pocketmine\network\mcpe\protocol\RemoveActorPacket, pocketmine\network\mcpe\protocol\RemoveObjectivePacket, pocketmine\network\mcpe\protocol\RemoveVolumeEntityPacket, pocketmine\network\mcpe\protocol\RequestAbilityPacket, pocketmine\network\mcpe\protocol\RequestChunkRadiusPacket, pocketmine\network\mcpe\protocol\RequestNetworkSettingsPacket, pocketmine\network\mcpe\protocol\RequestPermissionsPacket, pocketmine\network\mcpe\protocol\ResourcePackChunkDataPacket, pocketmine\network\mcpe\protocol\ResourcePackChunkRequestPacket, pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket, pocketmine\network\mcpe\protocol\ResourcePackDataInfoPacket, pocketmine\network\mcpe\protocol\ResourcePacksInfoPacket, pocketmine\network\mcpe\protocol\ResourcePackStackPacket, pocketmine\network\mcpe\protocol\RespawnPacket, pocketmine\network\mcpe\protocol\ScriptMessagePacket, pocketmine\network\mcpe\protocol\ServerboundDiagnosticsPacket, pocketmine\network\mcpe\protocol\ServerboundLoadingScreenPacket, pocketmine\network\mcpe\protocol\ServerPlayerPostMovePositionPacket, pocketmine\network\mcpe\protocol\ServerSettingsRequestPacket, pocketmine\network\mcpe\protocol\ServerSettingsResponsePacket, pocketmine\network\mcpe\protocol\ServerStatsPacket, pocketmine\network\mcpe\protocol\ServerToClientHandshakePacket, pocketmine\network\mcpe\protocol\SetActorDataPacket, pocketmine\network\mcpe\protocol\SetActorLinkPacket, pocketmine\network\mcpe\protocol\SetActorMotionPacket, pocketmine\network\mcpe\protocol\SetCommandsEnabledPacket, pocketmine\network\mcpe\protocol\SetDefaultGameTypePacket, pocketmine\network\mcpe\protocol\SetDifficultyPacket, pocketmine\network\mcpe\protocol\SetDisplayObjectivePacket, pocketmine\network\mcpe\protocol\SetHealthPacket, pocketmine\network\mcpe\protocol\SetHudPacket, pocketmine\network\mcpe\protocol\SetLastHurtByPacket, pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket, pocketmine\network\mcpe\protocol\SetMovementAuthorityPacket, pocketmine\network\mcpe\protocol\SetPlayerGameTypePacket, pocketmine\network\mcpe\protocol\SetPlayerInventoryOptionsPacket, pocketmine\network\mcpe\protocol\SetScoreboardIdentityPacket, pocketmine\network\mcpe\protocol\SetScorePacket, pocketmine\network\mcpe\protocol\SetSpawnPositionPacket, pocketmine\network\mcpe\protocol\SetTimePacket, pocketmine\network\mcpe\protocol\SettingsCommandPacket, pocketmine\network\mcpe\protocol\SetTitlePacket, pocketmine\network\mcpe\protocol\ShowCreditsPacket, pocketmine\network\mcpe\protocol\ShowProfilePacket, pocketmine\network\mcpe\protocol\ShowStoreOfferPacket, pocketmine\network\mcpe\protocol\SimpleEventPacket, pocketmine\network\mcpe\protocol\SimulationTypePacket, pocketmine\network\mcpe\protocol\SpawnExperienceOrbPacket, pocketmine\network\mcpe\protocol\SpawnParticleEffectPacket, pocketmine\network\mcpe\protocol\StartGamePacket, pocketmine\network\mcpe\protocol\StopSoundPacket, pocketmine\network\mcpe\protocol\StructureBlockUpdatePacket, pocketmine\network\mcpe\protocol\StructureTemplateDataRequestPacket, pocketmine\network\mcpe\protocol\StructureTemplateDataResponsePacket, pocketmine\network\mcpe\protocol\SubChunkPacket, pocketmine\network\mcpe\protocol\SubChunkRequestPacket, pocketmine\network\mcpe\protocol\SubClientLoginPacket, pocketmine\network\mcpe\protocol\SyncActorPropertyPacket, pocketmine\network\mcpe\protocol\TakeItemActorPacket, pocketmine\network\mcpe\protocol\TextPacket, pocketmine\network\mcpe\protocol\TickingAreasLoadStatusPacket, pocketmine\network\mcpe\protocol\ToastRequestPacket, pocketmine\network\mcpe\protocol\TransferPacket, pocketmine\network\mcpe\protocol\TrimDataPacket, pocketmine\network\mcpe\protocol\UnlockedRecipesPacket, pocketmine\network\mcpe\protocol\UpdateAbilitiesPacket, pocketmine\network\mcpe\protocol\UpdateAdventureSettingsPacket, pocketmine\network\mcpe\protocol\UpdateAttributesPacket, pocketmine\network\mcpe\protocol\UpdateBlockPacket, pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket, pocketmine\network\mcpe\protocol\UpdateClientInputLocksPacket, pocketmine\network\mcpe\protocol\UpdateEquipPacket, pocketmine\network\mcpe\protocol\UpdatePlayerGameTypePacket, pocketmine\network\mcpe\protocol\UpdateSoftEnumPacket, pocketmine\network\mcpe\protocol\UpdateSubChunkBlocksPacket, and pocketmine\network\mcpe\protocol\UpdateTradePacket.
◆ getName()
pocketmine\network\mcpe\protocol\DataPacket::getName |
( |
| ) |
|
◆ 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 |
Implemented in pocketmine\network\mcpe\protocol\ActorEventPacket, pocketmine\network\mcpe\protocol\ActorPickRequestPacket, pocketmine\network\mcpe\protocol\AddActorPacket, pocketmine\network\mcpe\protocol\AddBehaviorTreePacket, pocketmine\network\mcpe\protocol\AddItemActorPacket, pocketmine\network\mcpe\protocol\AddPaintingPacket, pocketmine\network\mcpe\protocol\AddPlayerPacket, pocketmine\network\mcpe\protocol\AddVolumeEntityPacket, pocketmine\network\mcpe\protocol\AgentActionEventPacket, pocketmine\network\mcpe\protocol\AgentAnimationPacket, pocketmine\network\mcpe\protocol\AnimateEntityPacket, pocketmine\network\mcpe\protocol\AnimatePacket, pocketmine\network\mcpe\protocol\AnvilDamagePacket, pocketmine\network\mcpe\protocol\AutomationClientConnectPacket, pocketmine\network\mcpe\protocol\AvailableActorIdentifiersPacket, pocketmine\network\mcpe\protocol\AvailableCommandsPacket, pocketmine\network\mcpe\protocol\AwardAchievementPacket, pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket, pocketmine\network\mcpe\protocol\BlockActorDataPacket, pocketmine\network\mcpe\protocol\BlockEventPacket, pocketmine\network\mcpe\protocol\BlockPickRequestPacket, pocketmine\network\mcpe\protocol\BookEditPacket, pocketmine\network\mcpe\protocol\BossEventPacket, pocketmine\network\mcpe\protocol\CameraAimAssistPacket, pocketmine\network\mcpe\protocol\CameraInstructionPacket, pocketmine\network\mcpe\protocol\CameraPacket, pocketmine\network\mcpe\protocol\CameraPresetsPacket, pocketmine\network\mcpe\protocol\CameraShakePacket, pocketmine\network\mcpe\protocol\ChangeDimensionPacket, pocketmine\network\mcpe\protocol\ChangeMobPropertyPacket, pocketmine\network\mcpe\protocol\ChunkRadiusUpdatedPacket, pocketmine\network\mcpe\protocol\ClientboundCloseFormPacket, pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket, pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket, pocketmine\network\mcpe\protocol\ClientCacheBlobStatusPacket, pocketmine\network\mcpe\protocol\ClientCacheMissResponsePacket, pocketmine\network\mcpe\protocol\ClientCacheStatusPacket, pocketmine\network\mcpe\protocol\ClientToServerHandshakePacket, pocketmine\network\mcpe\protocol\CodeBuilderPacket, pocketmine\network\mcpe\protocol\CodeBuilderSourcePacket, pocketmine\network\mcpe\protocol\CommandBlockUpdatePacket, pocketmine\network\mcpe\protocol\CommandOutputPacket, pocketmine\network\mcpe\protocol\CommandRequestPacket, pocketmine\network\mcpe\protocol\CompletedUsingItemPacket, pocketmine\network\mcpe\protocol\CompressedBiomeDefinitionListPacket, pocketmine\network\mcpe\protocol\ContainerClosePacket, pocketmine\network\mcpe\protocol\ContainerOpenPacket, pocketmine\network\mcpe\protocol\ContainerRegistryCleanupPacket, pocketmine\network\mcpe\protocol\ContainerSetDataPacket, pocketmine\network\mcpe\protocol\CorrectPlayerMovePredictionPacket, pocketmine\network\mcpe\protocol\CraftingDataPacket, pocketmine\network\mcpe\protocol\CreatePhotoPacket, pocketmine\network\mcpe\protocol\CreativeContentPacket, pocketmine\network\mcpe\protocol\CurrentStructureFeaturePacket, pocketmine\network\mcpe\protocol\DeathInfoPacket, pocketmine\network\mcpe\protocol\DebugInfoPacket, pocketmine\network\mcpe\protocol\DimensionDataPacket, pocketmine\network\mcpe\protocol\DisconnectPacket, pocketmine\network\mcpe\protocol\EditorNetworkPacket, pocketmine\network\mcpe\protocol\EducationSettingsPacket, pocketmine\network\mcpe\protocol\EduUriResourcePacket, pocketmine\network\mcpe\protocol\EmoteListPacket, pocketmine\network\mcpe\protocol\EmotePacket, pocketmine\network\mcpe\protocol\FeatureRegistryPacket, pocketmine\network\mcpe\protocol\GameRulesChangedPacket, pocketmine\network\mcpe\protocol\GameTestRequestPacket, pocketmine\network\mcpe\protocol\GameTestResultsPacket, pocketmine\network\mcpe\protocol\GuiDataPickItemPacket, pocketmine\network\mcpe\protocol\HurtArmorPacket, pocketmine\network\mcpe\protocol\InteractPacket, pocketmine\network\mcpe\protocol\InventoryContentPacket, pocketmine\network\mcpe\protocol\InventorySlotPacket, pocketmine\network\mcpe\protocol\InventoryTransactionPacket, pocketmine\network\mcpe\protocol\ItemComponentPacket, pocketmine\network\mcpe\protocol\ItemStackRequestPacket, pocketmine\network\mcpe\protocol\ItemStackResponsePacket, pocketmine\network\mcpe\protocol\JigsawStructureDataPacket, pocketmine\network\mcpe\protocol\LabTablePacket, pocketmine\network\mcpe\protocol\LecternUpdatePacket, pocketmine\network\mcpe\protocol\LegacyTelemetryEventPacket, pocketmine\network\mcpe\protocol\LessonProgressPacket, pocketmine\network\mcpe\protocol\LevelChunkPacket, pocketmine\network\mcpe\protocol\LevelEventGenericPacket, pocketmine\network\mcpe\protocol\LevelEventPacket, pocketmine\network\mcpe\protocol\LevelSoundEventPacket, pocketmine\network\mcpe\protocol\LevelSoundEventPacketV1, pocketmine\network\mcpe\protocol\LevelSoundEventPacketV2, pocketmine\network\mcpe\protocol\LoginPacket, pocketmine\network\mcpe\protocol\MapCreateLockedCopyPacket, pocketmine\network\mcpe\protocol\MapInfoRequestPacket, pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket, pocketmine\network\mcpe\protocol\MobEffectPacket, pocketmine\network\mcpe\protocol\MobEquipmentPacket, pocketmine\network\mcpe\protocol\ModalFormRequestPacket, pocketmine\network\mcpe\protocol\ModalFormResponsePacket, pocketmine\network\mcpe\protocol\MotionPredictionHintsPacket, pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket, pocketmine\network\mcpe\protocol\MoveActorDeltaPacket, pocketmine\network\mcpe\protocol\MovementEffectPacket, pocketmine\network\mcpe\protocol\MovePlayerPacket, pocketmine\network\mcpe\protocol\MultiplayerSettingsPacket, pocketmine\network\mcpe\protocol\NetworkChunkPublisherUpdatePacket, pocketmine\network\mcpe\protocol\NetworkSettingsPacket, pocketmine\network\mcpe\protocol\NetworkStackLatencyPacket, pocketmine\network\mcpe\protocol\NpcDialoguePacket, pocketmine\network\mcpe\protocol\NpcRequestPacket, pocketmine\network\mcpe\protocol\OnScreenTextureAnimationPacket, pocketmine\network\mcpe\protocol\OpenSignPacket, pocketmine\network\mcpe\protocol\PacketViolationWarningPacket, pocketmine\network\mcpe\protocol\PassengerJumpPacket, pocketmine\network\mcpe\protocol\PhotoTransferPacket, pocketmine\network\mcpe\protocol\PlayerActionPacket, pocketmine\network\mcpe\protocol\PlayerArmorDamagePacket, pocketmine\network\mcpe\protocol\PlayerAuthInputPacket, pocketmine\network\mcpe\protocol\PlayerEnchantOptionsPacket, pocketmine\network\mcpe\protocol\PlayerFogPacket, pocketmine\network\mcpe\protocol\PlayerHotbarPacket, pocketmine\network\mcpe\protocol\PlayerInputPacket, pocketmine\network\mcpe\protocol\PlayerListPacket, pocketmine\network\mcpe\protocol\PlayerSkinPacket, pocketmine\network\mcpe\protocol\PlayerStartItemCooldownPacket, pocketmine\network\mcpe\protocol\PlayerToggleCrafterSlotRequestPacket, pocketmine\network\mcpe\protocol\PlaySoundPacket, pocketmine\network\mcpe\protocol\PlayStatusPacket, pocketmine\network\mcpe\protocol\PositionTrackingDBClientRequestPacket, pocketmine\network\mcpe\protocol\PositionTrackingDBServerBroadcastPacket, pocketmine\network\mcpe\protocol\PurchaseReceiptPacket, pocketmine\network\mcpe\protocol\RefreshEntitlementsPacket, pocketmine\network\mcpe\protocol\RemoveActorPacket, pocketmine\network\mcpe\protocol\RemoveObjectivePacket, pocketmine\network\mcpe\protocol\RemoveVolumeEntityPacket, pocketmine\network\mcpe\protocol\RequestAbilityPacket, pocketmine\network\mcpe\protocol\RequestChunkRadiusPacket, pocketmine\network\mcpe\protocol\RequestNetworkSettingsPacket, pocketmine\network\mcpe\protocol\RequestPermissionsPacket, pocketmine\network\mcpe\protocol\ResourcePackChunkDataPacket, pocketmine\network\mcpe\protocol\ResourcePackChunkRequestPacket, pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket, pocketmine\network\mcpe\protocol\ResourcePackDataInfoPacket, pocketmine\network\mcpe\protocol\ResourcePacksInfoPacket, pocketmine\network\mcpe\protocol\ResourcePackStackPacket, pocketmine\network\mcpe\protocol\RespawnPacket, pocketmine\network\mcpe\protocol\ScriptMessagePacket, pocketmine\network\mcpe\protocol\ServerboundDiagnosticsPacket, pocketmine\network\mcpe\protocol\ServerboundLoadingScreenPacket, pocketmine\network\mcpe\protocol\ServerPlayerPostMovePositionPacket, pocketmine\network\mcpe\protocol\ServerSettingsRequestPacket, pocketmine\network\mcpe\protocol\ServerSettingsResponsePacket, pocketmine\network\mcpe\protocol\ServerStatsPacket, pocketmine\network\mcpe\protocol\ServerToClientHandshakePacket, pocketmine\network\mcpe\protocol\SetActorDataPacket, pocketmine\network\mcpe\protocol\SetActorLinkPacket, pocketmine\network\mcpe\protocol\SetActorMotionPacket, pocketmine\network\mcpe\protocol\SetCommandsEnabledPacket, pocketmine\network\mcpe\protocol\SetDefaultGameTypePacket, pocketmine\network\mcpe\protocol\SetDifficultyPacket, pocketmine\network\mcpe\protocol\SetDisplayObjectivePacket, pocketmine\network\mcpe\protocol\SetHealthPacket, pocketmine\network\mcpe\protocol\SetHudPacket, pocketmine\network\mcpe\protocol\SetLastHurtByPacket, pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket, pocketmine\network\mcpe\protocol\SetMovementAuthorityPacket, pocketmine\network\mcpe\protocol\SetPlayerGameTypePacket, pocketmine\network\mcpe\protocol\SetPlayerInventoryOptionsPacket, pocketmine\network\mcpe\protocol\SetScoreboardIdentityPacket, pocketmine\network\mcpe\protocol\SetScorePacket, pocketmine\network\mcpe\protocol\SetSpawnPositionPacket, pocketmine\network\mcpe\protocol\SetTimePacket, pocketmine\network\mcpe\protocol\SettingsCommandPacket, pocketmine\network\mcpe\protocol\SetTitlePacket, pocketmine\network\mcpe\protocol\ShowCreditsPacket, pocketmine\network\mcpe\protocol\ShowProfilePacket, pocketmine\network\mcpe\protocol\ShowStoreOfferPacket, pocketmine\network\mcpe\protocol\SimpleEventPacket, pocketmine\network\mcpe\protocol\SimulationTypePacket, pocketmine\network\mcpe\protocol\SpawnExperienceOrbPacket, pocketmine\network\mcpe\protocol\SpawnParticleEffectPacket, pocketmine\network\mcpe\protocol\StartGamePacket, pocketmine\network\mcpe\protocol\StopSoundPacket, pocketmine\network\mcpe\protocol\StructureBlockUpdatePacket, pocketmine\network\mcpe\protocol\StructureTemplateDataRequestPacket, pocketmine\network\mcpe\protocol\StructureTemplateDataResponsePacket, pocketmine\network\mcpe\protocol\SubChunkPacket, pocketmine\network\mcpe\protocol\SubChunkRequestPacket, pocketmine\network\mcpe\protocol\SubClientLoginPacket, pocketmine\network\mcpe\protocol\SyncActorPropertyPacket, pocketmine\network\mcpe\protocol\TakeItemActorPacket, pocketmine\network\mcpe\protocol\TextPacket, pocketmine\network\mcpe\protocol\TickingAreasLoadStatusPacket, pocketmine\network\mcpe\protocol\ToastRequestPacket, pocketmine\network\mcpe\protocol\TransferPacket, pocketmine\network\mcpe\protocol\TrimDataPacket, pocketmine\network\mcpe\protocol\UnlockedRecipesPacket, pocketmine\network\mcpe\protocol\UpdateAbilitiesPacket, pocketmine\network\mcpe\protocol\UpdateAdventureSettingsPacket, pocketmine\network\mcpe\protocol\UpdateAttributesPacket, pocketmine\network\mcpe\protocol\UpdateBlockPacket, pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket, pocketmine\network\mcpe\protocol\UpdateClientInputLocksPacket, pocketmine\network\mcpe\protocol\UpdateEquipPacket, pocketmine\network\mcpe\protocol\UpdatePlayerGameTypePacket, pocketmine\network\mcpe\protocol\UpdateSoftEnumPacket, pocketmine\network\mcpe\protocol\UpdateSubChunkBlocksPacket, and pocketmine\network\mcpe\protocol\UpdateTradePacket.
◆ pid()
pocketmine\network\mcpe\protocol\DataPacket::pid |
( |
| ) |
|
◆ $recipientSubId
int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 |
◆ $senderSubId
int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 |
◆ NETWORK_ID
const pocketmine\network\mcpe\protocol\DataPacket::NETWORK_ID = 0 |
◆ PID_MASK
const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
The documentation for this class was generated from the following file: