ORK Framework  2.22.0
API Documentation
ORKFramework.AbilityResearchItem Class Reference
Inheritance diagram for ORKFramework.AbilityResearchItem:
ORKFramework.BaseData ORKFramework.IContent ORKFramework.IBaseData ORKFramework.IContentSimple

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool HasLearned (Combatant combatant)
 
IPortrait GetPortrait (int typeID)
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
IContentSimple GetTypeContent ()
 
string GetInfo (Combatant c)
 
void ResearchFinished (Combatant combatant)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

AbilitySelection ability = new AbilitySelection()
 
bool isGroupAbility = false
 
bool showNotification = true
 
bool showConsole = true
 

Properties

AbilityShortcut Shortcut [get]
 
int ID [get]
 
int TypeID [get]
 
- Properties inherited from ORKFramework.IContent
int TypeID [get]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 

Member Function Documentation

override void ORKFramework.AbilityResearchItem.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.