1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Clean up some packet-related code

This commit is contained in:
sfan5 2025-02-22 16:37:45 +01:00
parent 5e89371ecd
commit ee9258cefd
11 changed files with 94 additions and 239 deletions

View file

@ -296,7 +296,7 @@ struct alignas(u32) MapNode
static u32 serializedLength(u8 version);
void serialize(u8 *dest, u8 version) const;
void deSerialize(u8 *source, u8 version);
void deSerialize(const u8 *source, u8 version);
// Serializes or deserializes a list of nodes in bulk format (first the
// content of all nodes, then the param1 of all nodes, then the param2