Show / Hide Table of Contents

Class ModuleModifiedValue

Dynamic value modified by Module. It retrieves the module from context and modifies value using the module.

Inheritance
System.Object
ModuleModifiedValue
Implements
IDynamicValue
IController
IViewController
IHasUniversalID
Namespace: Eco.Gameplay.DynamicValues
Assembly: Eco.Gameplay.dll
Syntax
public class ModuleModifiedValue : Object, IDynamicValue, IController, IViewController, IHasUniversalID

Constructors

ModuleModifiedValue(Single, Type, DynamicValueType)

Initializes a new instance of the ModuleModifiedValue class.

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
Type Description
DynamicValueType

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
Type Name Description
IDynamicValueContext context
System.Object obj
Returns
Type Description
System.Single

GetCurrentValueInt(IDynamicValueContext, Object, Single)

Declaration
public int GetCurrentValueInt(IDynamicValueContext context, object obj, float multiplier)
Parameters
Type Name Description
IDynamicValueContext context
System.Object obj
System.Single multiplier
Returns
Type Description
System.Int32

Implements

IDynamicValue
IController
IViewController
IHasUniversalID

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾