Show / Hide Table of Contents

Class Talentset

Inheritance
System.Object
Talentset
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Skills
Assembly: Eco.Gameplay.dll
Syntax
public class Talentset : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged

Constructors

Talentset()

Declaration
public Talentset()

Fields

OnPlantHarvest

Declaration
public Func<Plant, ItemStack, User, ItemStack> OnPlantHarvest
Field Value
Type Description
System.Func<Plant, ItemStack, User, ItemStack>

TalentsetChanged

Declaration
public static ThreadSafeAction<Talentset, User> TalentsetChanged
Field Value
Type Description
ThreadSafeAction<Talentset, User>

Properties

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

Talents

Declaration
public ControllerList<Type> Talents { get; set; }
Property Value
Type Description
ControllerList<System.Type>

TalentStrings

Declaration
public IEnumerable<string> TalentStrings { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Methods

ClearTalent(Type)

Declaration
public void ClearTalent(Type talentType)
Parameters
Type Name Description
System.Type talentType

ClearTalents()

Declaration
public void ClearTalents()

GetTalent(Type)

Declaration
public Talent GetTalent(Type t)
Parameters
Type Name Description
System.Type t
Returns
Type Description
Talent

GetTalent<T>()

Declaration
public T GetTalent<T>()
    where T : Talent
Returns
Type Description
T
Type Parameters
Name Description
T

HasTalent(String)

Declaration
public bool HasTalent(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Boolean

HasTalent(Type)

Declaration
public bool HasTalent(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Boolean

HasTalent<T>()

Declaration
public bool HasTalent<T>()
Returns
Type Description
System.Boolean
Type Parameters
Name Description
T

Initialize()

Declaration
public void Initialize()

LearnTalent(Type)

Declaration
public void LearnTalent(Type talentType)
Parameters
Type Name Description
System.Type talentType

ResetAllTalents()

Declaration
public void ResetAllTalents()

SetOwner(User)

Declaration
public void SetOwner(User owner)
Parameters
Type Name Description
User owner

UnLearnTalent(Type)

Declaration
public void UnLearnTalent(Type talentType)
Parameters
Type Name Description
System.Type talentType

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged

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