Table of Contents

Class StatChangeData

Namespace
RisingV.Shared.Data
Assembly
RisingV.Shared.dll

Represents data for a stat change event.

public class StatChangeData : IData
Inheritance
StatChangeData
Implements
Inherited Members
Extension Methods

Constructors

StatChangeData(StatChangeEvent)

public StatChangeData(StatChangeEvent statChangeEvent)

Parameters

statChangeEvent StatChangeEvent

StatChangeData(Entity, Entity, float, StatType, StatChangeReason, int)

Represents data for a stat change event.

public StatChangeData(Entity source, Entity target, float change, StatType type, StatChangeReason reason, int statChangeFlags = 0)

Parameters

source Entity

Source entity of the stat change.

target Entity

Target entity of the stat change.

change float

Change amount for the stat.

type StatType

Stat type being changed.

reason StatChangeReason

Reason for the stat change.

statChangeFlags int

Flags associated with the stat change.

Properties

Change

public float Change { get; }

Property Value

float

Entity

public Entity Entity { get; }

Property Value

Entity

OriginalChange

public float OriginalChange { get; }

Property Value

float

Reason

public StatChangeReason Reason { get; }

Property Value

StatChangeReason

Source

public Entity Source { get; }

Property Value

Entity

StatChangeFlags

public int StatChangeFlags { get; }

Property Value

int

Target

public Entity Target { get; }

Property Value

Entity

Type

public StatType Type { get; }

Property Value

StatType

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.