Skip to main content

Module stat

Module stat 

Source

Modules§

custom
registry 🔒
vanilla_stat_types
This module defines all the stat types from Vanilla.

Structs§

Stat
Identifies a particular stat whose generic type is erased. This stat can also be encoded to and decoded from the network.
StatType
A structure that identifies a type of stat, using the registry type [R] for using items from it to identify a particular stat.
StatTypeEntry
An entry stored in the stat type registry. It represents a stat type.
StatTypeRegistry
Registry of all stat types. A stat type is always associated with a registry whose values will be used to identify stats from this stat type.
StatValueRegistryData
A type-erased registry whose values can be used for identifying a particular stat.

Traits§

StatValueRegistry
Behavior required for a registry so that the values stored in that registry can be used for identifying a particular stat.
StatValueRegistryEntry
Behavior required for a registry entry so that it can be used for identifying a particular stat.

Type Aliases§

StatTypeEntryRef
StatTypeRef