Show / Hide Table of Contents

Class UserStatModifiedValue

Inheritance
System.Object
UserStatModifiedValue
Implements
IDynamicValue
IController
IViewController
IHasUniversalID
Namespace: Eco.Gameplay.DynamicValues
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
Type Name Description
UserStatType type
User user
System.Action callback

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

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

GetCurrentValueInt(IDynamicValueContext, Object, Single)

Declaration
public int GetCurrentValueInt(IDynamicValueContext user, object obj, float multiplier = 1F)
Parameters
Type Name Description
IDynamicValueContext user
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
☀
☾