ORK Framework  2.27.1
API Documentation
ORKFramework.ResearchTreeSetting Class Reference
Inheritance diagram for ORKFramework.ResearchTreeSetting:
ORKFramework.BaseLanguageData ORKFramework.IContent ORKFramework.IPortraitContent ORKFramework.BaseIndexData ORKFramework.IContentSimple ORKFramework.IContentSimple ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 ResearchTreeSetting (string name)
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
void ShowTreeAdded (Combatant user, ResearchTree tree, bool showNotification, bool showConsole)
void ShowTreeRemoved (Combatant user, ResearchTree tree, bool showNotification, bool showConsole)
void ShowResearchStarted (Combatant user, ResearchItem item)
void ShowResearchCanceled (Combatant user, ResearchItem item)
void ShowResearchFinished (Combatant user, ResearchItem item)
override string GetIconTextCode ()
IContentSimple GetTypeContent ()
string GetInfo (Combatant c)
IPortrait GetPortrait (int typeID)
string GetName (int index)
string GetShortName (int index)
string GetDescription (int index)
string GetIconTextCode (int index)
Texture GetIcon (int index)
GUIContent GetContent (int index)
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
void SetLanguageName (string name)
virtual string GetName ()
virtual string GetShortName ()
virtual string GetDescription ()
virtual Texture GetIcon ()
virtual GUIContent GetContent ()
- 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

int researchTypeID = 0
bool autoRemove = false
bool removeShowNotification = true
bool removeShowConsole = true
bool limitResearch = true
bool globalLimit = true
int researchLimit = 1
TypeImagePortrait [] portrait = new TypeImagePortrait[0]
bool ownNotifications = false
ResearchTreeNotification researchTreeAdded
ResearchTreeNotification researchTreeRemoved
ResearchItemNotification researchStarted
ResearchItemNotification researchCanceled
ResearchItemNotification researchFinished
bool ownConsoleTexts = false
ConsoleTextLearning consoleAddTree
ConsoleTextLearning consoleRemoveTree
ConsoleTextResearchItem consoleStartResearch
ConsoleTextResearchItem consoleCancelResearch
ConsoleTextResearchItem consoleFinishResearch
ResearchItemSetting [] item = new ResearchItemSetting[0]
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageContent [] languageInfo


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

Additional Inherited Members

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

Member Function Documentation

◆ SetData()

override void ORKFramework.ResearchTreeSetting.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.