Expand description

Minetest data types used inside of Commands / Packets.

Derive macros MinetestSerialize and MinetestDeserialize are used to produce ser/deser methods for many of the structs below. The order of the fields inside the struct determines the order in which they are serialized/deserialized, so be careful modifying anything below. Their serialized representation must stay the same.

NOTE: The derive macros currently do not work on structs with generic parameters.

TODO(paradust): Having an assert!-like macro that generates Serialize/Deserialize errors instead of aborts may be helpful for cleaning this up.

Structs

Enums

Type Definitions