Class ModuleModifiedValue
Dynamic value modified by Module. It retrieves the module from context and modifies value using the module.
Inheritance
System.Object
ModuleModifiedValue
Assembly: Eco.Gameplay.dll
Syntax
public class ModuleModifiedValue : Object, IDynamicValue, IController, IViewController, IHasUniversalID
Constructors
ModuleModifiedValue(Single, Type, DynamicValueType)
Declaration
public ModuleModifiedValue(float baseValue, Type skillType, DynamicValueType valueType)
Parameters
Type |
Name |
Description |
System.Single |
baseValue |
Base unmodified value.
|
System.Type |
skillType |
Skill associated with the value.
|
DynamicValueType |
valueType |
Type of value (Efficiency, Speed etc).
|
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 |
|
SkillType
Declaration
public Type SkillType { get; }
Property Value
Type |
Description |
System.Type |
|
SkillTypeID
Declaration
public int SkillTypeID { get; }
Property Value
Type |
Description |
System.Int32 |
|
ValueType
Declaration
public DynamicValueType ValueType { get; }
Property Value
ValueTypeName
Declaration
public string ValueTypeName { get; }
Property Value
Type |
Description |
System.String |
|
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 context, object obj, float multiplier)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Implements
Extension Methods