Show / Hide Table of Contents

Class SkillModifiedValueManager

Inheritance
System.Object
SkillModifiedValueManager
Namespace: Eco.Gameplay.DynamicValues
Assembly: Eco.Gameplay.dll
Syntax
public static class SkillModifiedValueManager : Object

Methods

AddBenefitForObject(Object, SkillModifiedValue)

Declaration
public static void AddBenefitForObject(object obj, SkillModifiedValue smv)
Parameters
Type Name Description
System.Object obj
SkillModifiedValue smv

AddSkillBenefit(Type, SkillModifiedValue, Type)

Declaration
public static void AddSkillBenefit(Type type, SkillModifiedValue smv, Type overrideType = null)
Parameters
Type Name Description
System.Type type
SkillModifiedValue smv
System.Type overrideType

GetBenefitDescription(Object, User)

Declaration
public static IEnumerable<LocString> GetBenefitDescription(object obj, User user)
Parameters
Type Name Description
System.Object obj
User user
Returns
Type Description
System.Collections.Generic.IEnumerable<LocString>

GetBenefitDescription(Tuple<Type, List<SkillModifiedValue>>, User)

Declaration
public static IEnumerable<LocString> GetBenefitDescription(Tuple<Type, List<SkillModifiedValue>> smvs, User user)
Parameters
Type Name Description
System.Tuple<System.Type, System.Collections.Generic.List<SkillModifiedValue>> smvs
User user
Returns
Type Description
System.Collections.Generic.IEnumerable<LocString>

GetBenefitNameForType(Type)

Get UILink based on type using runtime type ids

Declaration
public static LocString GetBenefitNameForType(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
LocString

GetBenefitsFor(Skill)

Declaration
public static Dictionary<Type, List<SkillModifiedValue>> GetBenefitsFor(Skill skill)
Parameters
Type Name Description
Skill skill
Returns
Type Description
System.Collections.Generic.Dictionary<System.Type, System.Collections.Generic.List<SkillModifiedValue>>

GetBenefitsFor(Type)

Declaration
public static Tuple<Type, List<SkillModifiedValue>> GetBenefitsFor(Type obj)
Parameters
Type Name Description
System.Type obj
Returns
Type Description
System.Tuple<System.Type, System.Collections.Generic.List<SkillModifiedValue>>
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾