ORK Framework  2.26.1
API Documentation
ORKFramework.AbilityTree Class Reference
Inheritance diagram for ORKFramework.AbilityTree:
ORKFramework.BaseLanguageData ORKFramework.IContentSimple ORKFramework.BaseIndexData ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 AbilityTree (string name)
 
bool HasSubTrees ()
 
bool IsSubTreeOf (int parentID)
 
int GetParentTreeAfter (int parentID)
 
void AddTreeToList (int parentID, ref List< int > list)
 
List< int > GetTreePath ()
 
List< IShortcutGetAbilities (Combatant combatant, bool onePerAbility, bool addLearned, bool addLevelUp, bool addLearnable, bool addNotLearnable)
 
void GetAbilities (Combatant combatant, bool onePerAbility, bool addLearned, bool addLevelUp, bool addLearnable, bool addNotLearnable, ref List< IShortcut > list)
 
void GetAbilityTypes (int parentType, ref List< int > list, UseableIn useIn)
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool isSubTree = false
 
int parentTreeID = 0
 
bool ownConsoleLearning = false
 
ConsoleTextLearning consoleLearning
 
bool ownConsoleForgetting = false
 
ConsoleTextLearning consoleForgetting
 
AbilityLeaf [] ability = new AbilityLeaf[0]
 
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageInfo [] languageInfo
 

Properties

int ParentTree [get]
 
int ID [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0