Class SkillModifiedValueManager
Inheritance
System.Object
SkillModifiedValueManager
Assembly: Eco.Gameplay.dll
Syntax
public static class SkillModifiedValueManager : Object
Methods
AddBenefitForObject(Object, SkillModifiedValue)
Declaration
public static void AddBenefitForObject(object obj, SkillModifiedValue smv)
Parameters
AddSkillBenefit(Type, SkillModifiedValue, Type)
Declaration
public static void AddSkillBenefit(Type type, SkillModifiedValue smv, Type overrideType = null)
Parameters
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
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>> |
|