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

Public Member Functions

 DefenceAttributeSetting (string name)
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
void SetSubIDs ()
void ShowImmunityFlyingText (Combatant combatant, int attributeID)
void Limit (ref float value)
override string GetIconTextCode ()
string Format (float value)
- 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

float minValue = -500
float maxValue = 500
float strengthDisplay = 100
float weaknessDisplay = 100
float recoveryDisplay = 0
bool ownValueFormat = false
string valueFormat = "0"
FlyingTextGroup< FlyingTextSettings > [] immunityFlyingText = new FlyingTextGroup<FlyingTextSettings>[0]
bool previewOwnNoChangeValueText = false
bool previewUseNoChangeValueText = false
string [] previewNoChangeValueText
bool previewOwnNoChangeChangeText = false
bool previewUseNoChangeChangeText = false
string [] previewNoChangeChangeText
DefenceSubAttribute [] attribute
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageContent [] languageInfo


override int RealID [get, set]
- 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]

Additional Inherited Members

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

Member Function Documentation

◆ SetData()

override void ORKFramework.DefenceAttributeSetting.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.

Member Data Documentation

◆ attribute

DefenceSubAttribute [] ORKFramework.DefenceAttributeSetting.attribute
Initial value:
= new DefenceSubAttribute[] {
new DefenceSubAttribute("New")