ORK Framework  2.22.0
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...
 

Public Attributes

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

Member Function Documentation

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.