ORK Framework  2.25.2
API Documentation
ORKFramework.StatusValueLeaf Class Reference
Inheritance diagram for ORKFramework.StatusValueLeaf:
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)
 
- Public Member Functions inherited from ORKFramework.DevelopmentLeaf
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

int statusID = 0
 
int change = 1
 
bool showFlyingText = true
 
bool showConsole = true
 
bool ownCostDescription = false
 
string [] costDescription
 
bool ownReqDescription = false
 
string [] reqDescription
 
- 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

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.DevelopmentLeaf.