ORK Framework  2.26.1
API Documentation
ORKFramework.DefenceSubAttribute Class Reference
Inheritance diagram for ORKFramework.DefenceSubAttribute:
ORKFramework.BaseData ORKFramework.IContent ORKFramework.IBaseData ORKFramework.IContentSimple

Public Member Functions

 DefenceSubAttribute (string name)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
IContentSimple GetTypeContent ()
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
string GetInfo (Combatant c)
 
- 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

LanguageInfo [] languageInfo = ArrayHelper.CreateArray<LanguageInfo>(ORK.Languages.Count)
 
float startValue = 100
 
bool ownImmunityFlyingText = false
 
FlyingTextGroup< FlyingTextSettings > [] immunityFlyingText
 

Properties

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

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.