ORK Framework  2.27.1
API Documentation
ORKFramework.LearnCost Class Reference
Inheritance diagram for ORKFramework.LearnCost:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual bool CheckCosts (Combatant combatant)
 
virtual bool Consume (Combatant combatant)
 
virtual void Refund (Combatant combatant)
 
virtual void GetCostString (ref StringBuilder builder, 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...
 

Static Public Member Functions

static bool Check (Combatant combatant, LearnCost[] cost, Needed needed)
 

Public Attributes

LearnCostType type = LearnCostType.Experience
 
bool consume = true
 
int statusID = 0
 
FloatValue costValue = new FloatValue()
 
ItemCost item
 
bool showFlyingText = false
 
bool showConsole = false
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.