Skip to main content

Module attributes

Module attributes 

Source
Expand description

Attributes/stat section model and bit-level serializer. Attributes/stat section model.

HP/mana/stamina values are stored in save bytes using fixed-point Q8. Use [AttributeId] with Attributes::stat for typed lookup. Use the HP/mana/stamina accessors on Attributes for game-visible units.

Structs§

Attributes
Character attributes as stored in the attributes bitstream.
Stat
Single stat entry with canonical save-stat metadata.

Enums§

AttributeId
Typed identifier for supported attributes/stats in the save format.