Class StatItemSerializableData
Serializable data structure that contains the state of a StatItem.
Namespace: UnityEngine .GameFoundation .DataPersistence
Assembly: solution.dll
Syntax
[Serializable]
public class StatItemSerializableData
Constructors
Name | Description |
---|---|
Stat |
Default constructor for serialization purpose. |
Stat |
Basic constructor that take in the type of the value of the stat, the GameItem hash id of the stat, the definition id of the stat, the current value and the default value of the stat. |
Properties
Name | Description |
---|---|
default |
The float value of the stat when StatDictionary type is a float. |
default |
The default int value of the stat when StatDictionary type is an int. |
definition |
The definition id of the stat. |
float |
The float value of the stat when StatDictionary type is a float. |
game |
The GameItem hash id of the stat. |
int |
The int value of the stat when StatDictionary type is an int. |