ORK Framework  2.34.0
API Documentation
ORKFramework.DevelopmentLeaf Class Referenceabstract
Inheritance diagram for ORKFramework.DevelopmentLeaf:
ORKFramework.BaseData ORKFramework.IBaseData ORKFramework.AbilityLeaf ORKFramework.StatusValueLeaf

Public Member Functions

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)
abstract void Learn (Combatant combatant)
abstract IShortcut GetShortcut (Combatant combatant, UpgradeDisplayType displayType)
- 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

bool ownName = false
string [] name
bool ownShortName = false
string [] shortName
bool ownDescription = false
string [] description
UserVariableOrigin finishVariableOrigin = UserVariableOrigin.Global
VariableSetter finishVariables = new VariableSetter()
Needed costsNeeded = Needed.All
LearnCost [] learnCost = new LearnCost[0]
SimpleCombatantRequirement learnRequirements = new SimpleCombatantRequirement()

Member Function Documentation

◆ SetData()

override void ORKFramework.DevelopmentLeaf.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.

Reimplemented in ORKFramework.StatusValueLeaf.