ORK Framework  2.25.2
API Documentation
ORKFramework.BattleGridCellType Class Reference
Inheritance diagram for ORKFramework.BattleGridCellType:
ORKFramework.BaseLanguageData ORKFramework.IContentSimple ORKFramework.BaseIndexData ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 BattleGridCellType (string name)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
BattleGridCellType GetCellType ()
 
GameObject CreatePrefabInstance (BattleGridCellComponent cell, bool isEditor)
 
bool CanMoveFrom (BattleGridCellComponent fromCell)
 
string ReplaceMoveCosts (string text, Combatant user)
 
float GetMoveCost (Combatant user)
 
float GetMoveCost (Combatant user, BattleGridCellComponent fromCell)
 
float GetActionCost (Combatant user)
 
float GetActionCost (Combatant user, BattleGridCellComponent fromCell)
 
string GetName ()
 
string GetName (Combatant user)
 
string GetDescription ()
 
string GetDescription (Combatant user)
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
GUIContent GetContent (Combatant user)
 
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
 
- 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 isRandomCellType = false
 
BattleGridCellTypeRandom randomCellType
 
BattleGridCellTypeSingle singleCellType
 
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageInfo [] languageInfo
 

Properties

int ID [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.