Module json_models

Source

Macrosยง

generic_body_from_impl ๐Ÿ”’

Structsยง

CharacterPosition
DatabaseAbilitySet
DatabaseItemProperties
Struct containing item properties in the format that they get persisted to the database. Adding new fields is generally safe as long as they are optional. Renaming or removing old fields will require a migration.
GenericBody
A serializable model used to represent a generic Body. Since all variants of Body except Humanoid (currently) have the same struct layout, a single struct is used for persistence conversions.
HumanoidBody

Functionsยง

active_abilities_from_db_model
active_abilities_to_db_model
apply_db_item_properties
aux_ability_from_string ๐Ÿ”’
aux_ability_to_string ๐Ÿ”’
db_string_to_skill_group
item_properties_to_db_model
skill_group_to_db_string
tool_kind_from_string ๐Ÿ”’
tool_kind_to_string ๐Ÿ”’