Show / Hide Table of Contents

Interface IDynamicValue

Namespace: Eco.Gameplay.DynamicValues
Assembly: Eco.Gameplay.dll
Syntax
public interface IDynamicValue : IController, IViewController, IHasUniversalID

Fields

ValueIntEpsilon

Declaration
public const float ValueIntEpsilon = 0.001F
Field Value
Type Description
System.Single

Properties

GetBaseValue

Declaration
float GetBaseValue { get; }
Property Value
Type Description
System.Single

Methods

DescribeBenefits(IDynamicValueContext, Boolean)

Declaration
virtual LocString DescribeBenefits(IDynamicValueContext context, bool includeName = false)
Parameters
Type Name Description
IDynamicValueContext context
System.Boolean includeName
Returns
Type Description
LocString

DescribeBenefits(User, Boolean)

Declaration
virtual LocString DescribeBenefits(User user, bool includeName = false)
Parameters
Type Name Description
User user
System.Boolean includeName
Returns
Type Description
LocString

GetCurrentValue(IDynamicValueContext)

Declaration
virtual float GetCurrentValue(IDynamicValueContext context)
Parameters
Type Name Description
IDynamicValueContext context
Returns
Type Description
System.Single

GetCurrentValue(IDynamicValueContext, Object)

Declaration
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
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

GetCurrentValueInt(IDynamicValueContext, Single)

Declaration
virtual int GetCurrentValueInt(IDynamicValueContext context, float multiplier)
Parameters
Type Name Description
IDynamicValueContext context
System.Single multiplier
Returns
Type Description
System.Int32

Extension Methods

DynamicValueExtensions.GetCurrentValue(IDynamicValue, User)
DynamicValueExtensions.GetCurrentValue(IDynamicValue, User, Object)
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
☀
☾