Class UserStatModifiedValue
Inheritance
System.Object
UserStatModifiedValue
Assembly: Eco.Gameplay.dll
Syntax
public class UserStatModifiedValue : Object, IDynamicValue, IController, IViewController, IHasUniversalID
Constructors
UserStatModifiedValue(UserStatType, User, Action)
Declaration
public UserStatModifiedValue(UserStatType type, User user, Action callback)
Parameters
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
GetBaseValue
Declaration
public float GetBaseValue { get; }
Property Value
Type |
Description |
System.Single |
|
StatType
Declaration
public UserStatType StatType { get; set; }
Property Value
Value
Declaration
public float Value { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
GetCurrentValue(IDynamicValueContext, Object)
Declaration
public float GetCurrentValue(IDynamicValueContext context, object obj)
Parameters
Returns
Type |
Description |
System.Single |
|
GetCurrentValueInt(IDynamicValueContext, Object, Single)
Declaration
public int GetCurrentValueInt(IDynamicValueContext user, object obj, float multiplier = 1F)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Implements
Extension Methods