File Packet.hpp¶
Enums
-
enum class MinecraftPacketIds¶
Values:
-
enumerator KeepAlive¶
-
enumerator Login¶
-
enumerator PlayStatus¶
-
enumerator ServerToClientHandshake¶
-
enumerator ClientToServerHandshake¶
-
enumerator Disconnect¶
-
enumerator ResourcePacksInfo¶
-
enumerator ResourcePackStack¶
-
enumerator ResourcePackClientResponse¶
-
enumerator Text¶
-
enumerator SetTime¶
-
enumerator StartGame¶
-
enumerator AddPlayer¶
-
enumerator AddActor¶
-
enumerator RemoveActor¶
-
enumerator AddItemActor¶
-
enumerator ServerPlayerPostMovePosition¶
-
enumerator TakeItemActor¶
-
enumerator MoveAbsoluteActor¶
-
enumerator MovePlayer¶
-
enumerator PassengerJump¶
-
enumerator UpdateBlock¶
-
enumerator AddPainting¶
-
enumerator TickSync¶
-
enumerator LevelSoundEventV1¶
-
enumerator LevelEvent¶
-
enumerator TileEvent¶
-
enumerator ActorEvent¶
-
enumerator MobEffect¶
-
enumerator UpdateAttributes¶
-
enumerator InventoryTransaction¶
-
enumerator PlayerEquipment¶
-
enumerator MobArmorEquipment¶
-
enumerator Interact¶
-
enumerator BlockPickRequest¶
-
enumerator ActorPickRequest¶
-
enumerator PlayerAction¶
-
enumerator ActorFall_deprecated¶
-
enumerator HurtArmor¶
-
enumerator SetActorData¶
-
enumerator SetActorMotion¶
-
enumerator SetActorLink¶
-
enumerator SetHealth¶
-
enumerator SetSpawnPosition¶
-
enumerator Animate¶
-
enumerator Respawn¶
-
enumerator ContainerOpen¶
-
enumerator ContainerClose¶
-
enumerator PlayerHotbar¶
-
enumerator InventoryContent¶
-
enumerator InventorySlot¶
-
enumerator ContainerSetData¶
-
enumerator CraftingData¶
-
enumerator CraftingEvent_Deprecated¶
-
enumerator GuiDataPickItem¶
-
enumerator AdventureSettings_Deprecated¶
-
enumerator BlockActorData¶
-
enumerator PlayerInput¶
-
enumerator FullChunkData¶
-
enumerator SetCommandsEnabled¶
-
enumerator SetDifficulty¶
-
enumerator ChangeDimension¶
-
enumerator SetPlayerGameType¶
-
enumerator PlayerList¶
-
enumerator SimpleEvent¶
-
enumerator LegacyTelemetryEvent¶
-
enumerator SpawnExperienceOrb¶
-
enumerator MapData¶
-
enumerator MapInfoRequest¶
-
enumerator RequestChunkRadius¶
-
enumerator ChunkRadiusUpdated¶
-
enumerator ItemFrameDropItem_Deprecated¶
-
enumerator GameRulesChanged¶
-
enumerator Camera¶
-
enumerator BossEvent¶
-
enumerator ShowCredits¶
-
enumerator AvailableCommands¶
-
enumerator CommandRequest¶
-
enumerator CommandBlockUpdate¶
-
enumerator CommandOutput¶
-
enumerator UpdateTrade¶
-
enumerator UpdateEquip¶
-
enumerator ResourcePackDataInfo¶
-
enumerator ResourcePackChunkData¶
-
enumerator ResourcePackChunkRequest¶
-
enumerator Transfer¶
-
enumerator PlaySound¶
-
enumerator StopSound¶
-
enumerator SetTitle¶
-
enumerator AddBehaviorTree¶
-
enumerator StructureBlockUpdate¶
-
enumerator ShowStoreOffer¶
-
enumerator PurchaseReceipt¶
-
enumerator PlayerSkin¶
-
enumerator SubclientLogin¶
-
enumerator AutomationClientConnect¶
-
enumerator SetLastHurtBy¶
-
enumerator BookEdit¶
-
enumerator NPCRequest¶
-
enumerator PhotoTransfer¶
-
enumerator ShowModalForm¶
-
enumerator ModalFormResponse¶
-
enumerator ServerSettingsRequest¶
-
enumerator ServerSettingsResponse¶
-
enumerator ShowProfile¶
-
enumerator SetDefaultGameType¶
-
enumerator RemoveObjective¶
-
enumerator SetDisplayObjective¶
-
enumerator SetScore¶
-
enumerator LabTable¶
-
enumerator UpdateBlockSynced¶
-
enumerator MoveDeltaActor¶
-
enumerator SetScoreboardIdentity¶
-
enumerator SetLocalPlayerAsInit¶
-
enumerator UpdateSoftEnum¶
-
enumerator Ping¶
-
enumerator BlockPalette¶
-
enumerator ScriptCustomEvent¶
-
enumerator SpawnParticleEffect¶
-
enumerator AvailableActorIDList¶
-
enumerator LevelSoundEventV2¶
-
enumerator NetworkChunkPublisherUpdate¶
-
enumerator BiomeDefinitionList¶
-
enumerator LevelSoundEvent¶
-
enumerator LevelEventGeneric¶
-
enumerator LecternUpdate¶
-
enumerator VideoStreamConnect_DEPRECATED¶
-
enumerator AddEntity_DEPRECATED¶
-
enumerator RemoveEntity_DEPRECATED¶
-
enumerator ClientCacheStatus¶
-
enumerator OnScreenTextureAnimation¶
-
enumerator MapCreateLockedCopy¶
-
enumerator StructureTemplateDataExportRequest¶
-
enumerator StructureTemplateDataExportResponse¶
-
enumerator UNUSED_PLS_USE_ME¶
-
enumerator ClientCacheBlobStatusPacket¶
-
enumerator ClientCacheMissResponsePacket¶
-
enumerator EducationSettingsPacket¶
-
enumerator Emote¶
-
enumerator MultiplayerSettingsPacket¶
-
enumerator SettingsCommandPacket¶
-
enumerator AnvilDamage¶
-
enumerator CompletedUsingItem¶
-
enumerator NetworkSettings¶
-
enumerator PlayerAuthInputPacket¶
-
enumerator CreativeContent¶
-
enumerator PlayerEnchantOptions¶
-
enumerator ItemStackRequest¶
-
enumerator ItemStackResponse¶
-
enumerator PlayerArmorDamage¶
-
enumerator CodeBuilderPacket¶
-
enumerator UpdatePlayerGameType¶
-
enumerator EmoteList¶
-
enumerator PositionTrackingDBServerBroadcast¶
-
enumerator PositionTrackingDBClientRequest¶
-
enumerator DebugInfoPacket¶
-
enumerator PacketViolationWarning¶
-
enumerator MotionPredictionHints¶
-
enumerator TriggerAnimation¶
-
enumerator CameraShake¶
-
enumerator PlayerFogSetting¶
-
enumerator CorrectPlayerMovePredictionPacket¶
-
enumerator ItemComponentPacket¶
-
enumerator FilterTextPacket_DEPRECATED¶
-
enumerator ClientBoundDebugRendererPacket¶
-
enumerator SyncActorProperty¶
-
enumerator AddVolumeEntityPacket¶
-
enumerator RemoveVolumeEntityPacket¶
-
enumerator SimulationTypePacket¶
-
enumerator NpcDialoguePacket¶
-
enumerator EduUriResourcePacket¶
-
enumerator CreatePhotoPacket¶
-
enumerator UpdateSubChunkBlocks¶
-
enumerator PhotoInfoRequest_DEPRECATED¶
-
enumerator SubChunkPacket¶
-
enumerator SubChunkRequestPacket¶
-
enumerator PlayerStartItemCooldown¶
-
enumerator ScriptMessagePacket¶
-
enumerator CodeBuilderSourcePacket¶
-
enumerator TickingAreasLoadStatus¶
-
enumerator DimensionDataPacket¶
-
enumerator AgentAction¶
-
enumerator ChangeMobProperty¶
-
enumerator LessonProgressPacket¶
-
enumerator RequestAbilityPacket¶
-
enumerator RequestPermissionsPacket¶
-
enumerator ToastRequest¶
-
enumerator UpdateAbilitiesPacket¶
-
enumerator UpdateAdventureSettingsPacket¶
-
enumerator DeathInfo¶
-
enumerator EditorNetworkPacket¶
-
enumerator FeatureRegistryPacket¶
-
enumerator ServerStats¶
-
enumerator RequestNetworkSettings¶
-
enumerator GameTestRequestPacket¶
-
enumerator GameTestResultsPacket¶
-
enumerator PlayerClientInputPermissions¶
-
enumerator ClientCheatAbilityPacket_Deprecated¶
-
enumerator CameraPresets¶
-
enumerator UnlockedRecipes¶
-
enumerator CameraInstruction¶
-
enumerator CompressedBiomeDefinitionList¶
-
enumerator TrimData¶
-
enumerator OpenSign¶
-
enumerator AgentAnimation¶
-
enumerator RefreshEntitlementsPacket¶
-
enumerator PlayerToggleCrafterSlotRequestPacket¶
-
enumerator SetPlayerInventoryOptions¶
-
enumerator SetHudPacket¶
-
enumerator EndId¶
-
enumerator KeepAlive¶
-
class Packet¶
Subclassed by BlockActorDataPacket
Public Functions
-
inline virtual ~Packet()¶
-
virtual MinecraftPacketIds getId() const = 0¶
-
virtual Bedrock::Result<void, std::error_code> checkSize(uint64_t packetSize, bool receiverIsServer) const¶
-
virtual void write(BinaryStream&) = 0¶
-
virtual Bedrock::Result<void, std::error_code> read(ReadOnlyBinaryStream&)¶
-
virtual bool dissallowBatching()¶
-
virtual bool isValid()¶
-
virtual Bedrock::Result<void, std::error_code> _read(ReadOnlyBinaryStream&) = 0¶
-
Packet()¶
Public Members
-
PacketPriority mPriority¶
-
NetworkPeer::Reliability mReliability¶
-
SubClientId mClientSubId¶
-
bool mIsHandled¶
-
const IPacketHandlerDispatcher *mHandler¶
-
Compressibility mCompressible¶
-
inline virtual ~Packet()¶
-
class MinecraftPackets¶
Public Static Functions
-
static std::shared_ptr<Packet> createPacket(MinecraftPacketIds id)¶
-
static std::shared_ptr<Packet> createPacket(MinecraftPacketIds id)¶