ORK Framework  2.29.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 ()
 
void InitConnections ()
 
void InitConnectionsSquare ()
 
void InitConnectionsHexagonal ()
 
void RemoveBlockedConnections ()
 
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, CheckCombatant check)
 
bool CheckOccupants (CheckCombatant 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 AddTemporaryCellEvent (TemporaryGridCellEvent cellEvent)
 
bool HasTemporaryCellEvent (string eventKey)
 
bool HasAnyTemporaryCellEvents ()
 
void RemoveTemporaryCellEvent (string eventKey)
 
void ClearTemporaryCellEvents ()
 
void OnBeforeSerialize ()
 
void OnAfterDeserialize ()
 

Public Attributes

BattleGridComponent parentGrid = null
 
BattleGridCellComponent [] connections = null
 
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]
 
float SpawnRotation [get]
 
CubeCoord CubeCoord [get]
 
bool IsBlocked [get]
 
bool IsPassable [get]
 
bool BlockDiagonalMove [get]
 
bool? IsDeployment [get]
 
GridDeploymentCellDeployment [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]