ORK Framework  2.22.0
API Documentation
ORKFramework.Behaviours.BattleGridCellComponent Class Reference
Inheritance diagram for ORKFramework.Behaviours.BattleGridCellComponent:

Public Member Functions

void Init (BattleGridComponent parentGrid, int row, int column)
 
void ClearSettings ()
 
bool CanDeploy (Combatant combatant)
 
void SetCombatant (Combatant value, bool isSizeCombatant)
 
List< CombatantGetGuests ()
 
bool IsGuest (Combatant combatant)
 
void AddGuest (Combatant combatant)
 
void RemoveGuest (Combatant combatant)
 
void GetCombatants (ref List< Combatant > list, CombatantCheck check)
 
bool CheckOccupants (CombatantCheck check)
 
void SwapCombatants (BattleGridCellComponent other, bool placeAtCell)
 
void RemoveCombatant (Combatant combatant)
 
void ShowPrefab ()
 
void EditorShowPrefab ()
 
void HidePrefab ()
 
void DestroyPrefab ()
 
void HideHighlights (bool hide)
 
void Highlight (GridHighlightType highlightType)
 
void StopHighlight (GridHighlightType highlightType)
 
void StopAllHighlights ()
 
void GetCellEvents (ref List< GridCellEventCall > cellEvents, GridCellEventStartType startType)
 
void OnBeforeSerialize ()
 
void OnAfterDeserialize ()
 

Public Attributes

BattleGridComponent parentGrid
 
int row = 0
 
int column = 0
 
int cellTypeID = 0
 
bool ownDeployment = false
 
GridDeploymentCell deployment
 
bool setSpawnRotation = false
 
float spawnRotation = 0
 
bool ownBlockedSettings = false
 
bool blocked = false
 
bool passable = false
 
bool blockDiagonalMove = true
 
GridCellEvent[] cellEvent = new GridCellEvent[0]
 

Properties

BattleGridCellType CellType [get]
 
BattleGridCellTypeSingle Settings [get]
 
bool IsPositionOffset [get]
 
CubeCoord CubeCoord [get]
 
bool IsBlocked [get]
 
bool IsPassable [get]
 
bool BlockDiagonalMove [get]
 
bool IsDeployment [get]
 
GridDeploymentCell Deployment [get]
 
bool IsEmpty [get]
 
Combatant Combatant [get]
 
Combatant MarkedForCombatant [get, set]
 
Combatant MarkedForAI [get, set]
 
bool HasGuests [get]
 
GameObject PrefabInstance [get]
 
GameObject HighlightPrefabInstance [get, set]
 
bool HasEvents [get]