Table of Contents

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 StatChangeInfo

Constructors

StatChangeInfo(EntityStats, Stat, long, long)

Initializes a new instance of the StatChangeInfo structure.

public StatChangeInfo(EntityStats entity, Stat stat, long oldValue, long newValue)

Parameters

entity EntityStats

The EntityStats component that owns the stat.

stat Stat

The stat that was changed.

oldValue long

The previous value of the stat.

newValue long

The new value of the stat.

Fields

EntityStats

The EntityStats component that owns the changed stat.

public EntityStats EntityStats

Field Value

EntityStats

NewValue

The value of the stat after the change.

public long NewValue

Field Value

long

OldValue

The value of the stat before the change.

public long OldValue

Field Value

long

Stat

The stat that was changed.

public Stat Stat

Field Value

Stat