Savable Stat

📊 SavableStat Struct

A savable version of a Stat.

Namespace: Esper.Inventool.DataManagement Access: public Type: struct Attributes: [Serializable]


📦 Fields

Access
Field
Type
Description

public

value

SavableStatValue

The current value of the stat.

public

scalingSource

SavableStatScalingSource

The scaling source used to scale the stat per level.

public

level

int

The current level of this stat.

public

maxLevel

int

The max level of this stat.

public

combineType

Stat.CombineType

The combine type used for mathematical operations.

public

attributeID

int?

The ID of the attribute.

public

statID

int?

The ID of the stat identity.

public

clampWithinRange

bool

If the value should automatically be clamped within the low and high range whenever it's changed.

public

lowValue

SavableStatValue

The low value of the stat.


🔧 Constructors

Access
Constructor
Description

public

SavableStat(Stat stat)

Creates a savable stat from a Stat.


🧰 Methods

Access
Method
Returns
Description

public

ToStat()

Stat

Converts this SavableStat back into a Stat.


Last updated