ORK Framework  2.31.0
API Documentation
ORKFramework.BattleGridCellType Class Reference
Inheritance diagram for ORKFramework.BattleGridCellType:
ORKFramework.BaseLanguageData ORKFramework.BaseIndexData ORKFramework.IContentSimple 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)
 
override string GetName ()
 
string GetName (Combatant user)
 
override string GetShortName ()
 
string GetShortName (Combatant user)
 
override string GetDescription ()
 
string GetDescription (Combatant user)
 
override string GetIconTextCode ()
 
override GUIContent GetContent ()
 
GUIContent GetContent (Combatant user)
 
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
 
void SetLanguageName (string name)
 
virtual Texture GetIcon ()
 
- 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 = new BattleGridCellTypeSingle()
 
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageContent [] languageInfo
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0
 
- Properties inherited from ORKFramework.BaseLanguageData
virtual int ID [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 

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.