Show / Hide Table of Contents

Class UserStats

Inheritance
System.Object
UserStats
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public class UserStats : Object

Constructors

UserStats(User)

Declaration
public UserStats(User user)
Parameters
Type Name Description
User user

Properties

Stats

Declaration
public Dictionary<UserStatType, UserStat> Stats { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<UserStatType, UserStat>

Methods

BuildSkillModifiers(Dictionary<UserStatType, IDynamicValue>)

Declaration
public void BuildSkillModifiers(Dictionary<UserStatType, IDynamicValue> skillMods)
Parameters
Type Name Description
System.Collections.Generic.Dictionary<UserStatType, IDynamicValue> skillMods

GetStat(UserStatType)

Declaration
public UserStat GetStat(UserStatType type)
Parameters
Type Name Description
UserStatType type
Returns
Type Description
UserStat

InvokeCallback(UserStatType)

Declaration
public void InvokeCallback(UserStatType type)
Parameters
Type Name Description
UserStatType type

RegisterCallback(UserStatType, Action)

Declaration
public void RegisterCallback(UserStatType type, Action callback)
Parameters
Type Name Description
UserStatType type
System.Action callback

UpdateClothingStats()

Declaration
public void UpdateClothingStats()

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
☀
☾