ORK Framework  2.25.2
API Documentation
ORKFramework.ResearchTreeSetting Class Reference
Inheritance diagram for ORKFramework.ResearchTreeSetting:
ORKFramework.BaseLanguageData ORKFramework.IContent ORKFramework.IPortraitContent ORKFramework.BaseIndexData 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)
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
IContentSimple GetTypeContent ()
 
string GetInfo (Combatant c)
 
IPortrait GetPortrait (int typeID)
 
string GetName (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)
 
- 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
LanguageInfo [] languageInfo
 

Properties

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

Additional Inherited Members

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

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.