ORK Framework  2.31.0
API Documentation
ORKFramework.Ability Class Reference
Inheritance diagram for ORKFramework.Ability:
ORKFramework.BaseLanguageData ORKFramework.IContent ORKFramework.BaseIndexData ORKFramework.IContentSimple ORKFramework.IContentSimple ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 Ability (string name)
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
bool IsUseable (UseableIn useIn)
KeyEventSetting GetCustomEvent (string eventKey)
AbilityLevel GetLevel (int lvl)
string GetName (int lvl)
string GetShortName (int lvl)
GUIContent GetContent (int lvl)
override string GetDescription ()
override string GetIconTextCode ()
IContentSimple GetTypeContent ()
string GetInfo (Combatant c)
string FormatLevel (int value)
string FormatLevelPoints (int value)
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
void SetLanguageName (string name)
virtual string GetName ()
virtual string GetShortName ()
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

int abilityType = 0
bool ownDamageType = false
int damageTypeID = 0
bool hidden = false
UseableIn useableIn = UseableIn.Both
bool allowLvlChange = false
bool allowDeadUser = false
bool selectionKeepOpen = false
bool ownSelection = false
bool useScreenCombatant = false
int selectionID = 0
LevelUpType lvlType = LevelUpType.None
int expID = 0
bool ownNumberFormat = false
string levelFormat = "0"
bool ownBattleInfoText = false
BattleInfo battleInfoText
bool ownNotifications = false
AbilityNotification abilityLearned
AbilityNotification abilityForgotten
AbilityNotification groupAbilityLearned
AbilityNotification groupAbilityForgotten
bool ownConsoleAddAction = false
ConsoleTextActionPreview consoleAddAction
bool ownConsoleAction = false
ConsoleTextActionPreview consoleAction
bool ownConsoleCast = false
ConsoleTextActionPreview consoleCast
bool ownConsoleCastCancel = false
ConsoleTextActionPreview consoleCastCancel
bool ownConsoleLearning = false
ConsoleTextLearning consoleLearning
bool ownConsoleGroupLearning = false
ConsoleTextGroupLearning consoleGroupLearning
bool ownConsoleForgetting = false
ConsoleTextLearning consoleForgetting
bool ownConsoleGroupForgetting = false
ConsoleTextGroupLearning consoleGroupForgetting
bool ownConsoleLevelUp = false
ConsoleTextLevelUp consoleLevelUp
TypeImagePortrait [] portrait = new TypeImagePortrait[0]
KeyEventSetting [] customEvent = new KeyEventSetting[0]
AbilityLevel [] level = new AbilityLevel[] {new AbilityLevel()}
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageContent [] languageInfo


int ItemTypeID [get]
int TypeID [get]
- 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]
- Properties inherited from ORKFramework.IContent
int TypeID [get]

Additional Inherited Members

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

Member Function Documentation

◆ SetData()

override void ORKFramework.Ability.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.