Class EntityLevelChangedContext
- Namespace
- ElectricDrill.AstraRpgFramework.Events.Contexts
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
public class EntityLevelChangedContext : IHasTarget, IHasValueChange<int>
- Inheritance
-
objectEntityLevelChangedContext
- Implements
-
IHasValueChange<int>
Constructors
EntityLevelChangedContext(EntityCore, int, int)
public EntityLevelChangedContext(EntityCore target, int previousValue, int newValue)
Parameters
targetEntityCorepreviousValueintnewValueint
Properties
AbsAmount
The absolute amount of change between PreviousValue and NewValue.
public int AbsAmount { get; }
Property Value
- int
NewValue
public int NewValue { get; }
Property Value
- int
PreviousValue
public int PreviousValue { get; }
Property Value
- int
Target
public EntityCore Target { get; }