Class TalentManager
This manager is responsible for talent collection and also for talents versioning.
If the version set in DefaultVersion is higher then CurrentVersion (which loads from serialized data)
all talents for all users will be reset.
Inheritance
System.Object
TalentManager
Assembly: Eco.Gameplay.dll
Syntax
public class TalentManager : Singleton<TalentManager>
Constructors
TalentManager()
Declaration
Fields
AllTalents
Declaration
public static Talent[] AllTalents
Field Value
CurrentVersion
Declaration
public float CurrentVersion
Field Value
| Type |
Description |
| System.Single |
|
DefaultVersion
Declaration
public const float DefaultVersion = 1F
Field Value
| Type |
Description |
| System.Single |
|
TypeToTalent
Declaration
public static Dictionary<Type, Talent> TypeToTalent
Field Value
| Type |
Description |
| System.Collections.Generic.Dictionary<System.Type, Talent> |
|
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
CheckVersion()
Declaration
public void CheckVersion()
InitializeTalents()
Declaration
public static void InitializeTalents()
Extension Methods