Struct StatChangeInfo
- Namespace
- ElectricDrill
- Assembly
- com.electricdrill.soap-rpg-framework.Runtime.dll
Contains information about a stat change event, including the entity, stat, and old/new values. Used for tracking and responding to stat modifications.
public struct StatChangeInfoConstructors
StatChangeInfo(EntityStats, Stat, long, long)
Initializes a new instance of the StatChangeInfo structure.
public StatChangeInfo(EntityStats entity, Stat stat, long oldValue, long newValue)Parameters
- entityEntityStats
- The EntityStats component that owns the stat. 
- statStat
- The stat that was changed. 
- oldValuelong
- The previous value of the stat. 
- newValuelong
- The new value of the stat. 
Fields
EntityStats
The EntityStats component that owns the changed stat.
public EntityStats EntityStatsField Value
NewValue
The value of the stat after the change.
public long NewValueField Value
- long
OldValue
The value of the stat before the change.
public long OldValueField Value
- long
Stat
The stat that was changed.
public Stat Stat