Module veloren_server::persistence::json_models

source ยท

Macrosยง

Structsยง

  • 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.
  • 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.

Functionsยง