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

Public Member Functions

 FactionSetting (string n)
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
string GetFactionText (int index)
string ReplaceFactionTexts (string text)
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 EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Static Public Member Functions

static string ReplaceFactionTextsEmpty (string text)

Public Attributes

float changeKill = -1
float changeItem = -1
float changeMoney = -1
bool [] benefits = new bool[ORK.FactionBenefits.Count]
AssetSource< ORKPhaseChangeEventphaseStartAsset = new AssetSource<ORKPhaseChangeEvent>()
AssetSource< ORKPhaseChangeEventphaseEndAsset = new AssetSource<ORKPhaseChangeEvent>()
FactionText [] factionText = new FactionText[0]
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageInfo [] languageInfo


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

Member Function Documentation

◆ SetData()

override void ORKFramework.FactionSetting.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.