ORK Framework  2.22.0
API Documentation
ORKFramework.AbilityLeaf Class Reference
Inheritance diagram for ORKFramework.AbilityLeaf:
ORKFramework.DevelopmentLeaf ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
override void Learn (Combatant combatant)
 
override IShortcut GetShortcut (Combatant combatant, UpgradeDisplayType displayType)
 
void GetAbilityType (int parentType, ref List< int > list, UseableIn useIn)
 
- Public Member Functions inherited from ORKFramework.DevelopmentLeaf
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual bool CanLearn (Combatant combatant)
 
virtual bool CheckCosts (Combatant combatant)
 
virtual bool CheckRequirements (Combatant combatant)
 
virtual void ConsumeCosts (Combatant combatant)
 
virtual string GetCostString (Combatant combatant)
 
virtual void GetCostPreview (Combatant combatant, StatusPreview preview)
 
- 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

AbilitySelection ability = new AbilitySelection()
 
bool isGroupAbility = false
 
bool showNotification = true
 
bool showConsole = true
 
- Public Attributes inherited from ORKFramework.DevelopmentLeaf
bool ownName = false
 
string[] name
 
bool ownDescription = false
 
string[] description
 
UserVariableOrigin finishVariableOrigin = UserVariableOrigin.Global
 
VariableSetter finishVariables = new VariableSetter()
 
LearnCost[] learnCost = new LearnCost[0]
 
SimpleCombatantRequirement learnRequirements = new SimpleCombatantRequirement()
 

Member Function Documentation

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.