Chunks API¶
All chunk types share common methods and follow a consistent interface.
Common Methods¶
All chunk types implement these methods:
chunk_type() -> str¶
Returns the chunk type as a string.
to_dict() -> dict¶
Converts the chunk to a dictionary for easier inspection.
__repr__() -> str¶
Returns a string representation of the chunk.
__str__() -> str¶
Returns a human-readable string representation.
Chunk Type Reference¶
See Chunk Types for a complete list of all available chunk types and their attributes.
Player Lifecycle Chunks¶
JoinJoinVer6DropPlayerReady
Player State Chunks¶
PlayerNewPlayerOldPlayerTeamPlayerNamePlayerDiff
Input Chunks¶
InputNewInputDiff
Communication Chunks¶
NetMessageConsoleCommand
Authentication & Version Chunks¶
AuthLoginDdnetVersion
Server Event Chunks¶
TickSkipTeamLoadSuccessTeamLoadFailureAntiBot
Special Chunks¶
EosUnknownCustomChunkGeneric