ORK Framework  2.25.2
API Documentation
ORKFramework.DefenceAttributeSetting Class Reference
Inheritance diagram for ORKFramework.DefenceAttributeSetting:
ORKFramework.BaseLanguageData ORKFramework.IContentSimple ORKFramework.BaseIndexData 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)
 
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...
 

Public Attributes

float minValue = -500
 
float maxValue = 500
 
float strengthDisplay = 100
 
float weaknessDisplay = 100
 
float recoveryDisplay = 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
LanguageInfo [] languageInfo
 

Properties

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.

Member Data Documentation

◆ attribute

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