Show / Hide Table of Contents

Class ConstantValue

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

Constructors

ConstantValue(Single)

Declaration
public ConstantValue(float value)
Parameters
Type Name Description
System.Single value

Fields

Zero

Declaration
public static readonly ConstantValue Zero
Field Value
Type Description
ConstantValue

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

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 = 1F)
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
☀
☾