H7CombatMapCell¶
Class in MMH7Game · MMH7Game.H7CombatMapCell · native
Object › H7BaseCell › H7CombatMapCell
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mBuffManager | H7BuffManager | protected |
mCellSize | H7StructsAndEnumsNative.ECellSize | protected |
mCellSize2ndLayer | H7StructsAndEnumsNative.ECellSize | protected |
mCenterPosition | array<Vector> | protected |
mCombatController | H7CombatController | protected |
mCoverDecal | DecalComponent | protected |
mCreatureStack | H7CreatureStack | protected |
mDeadCreatureStack | H7CreatureStack | protected |
mDecal | DecalComponent | protected |
mDecalOffset | Vector | protected |
mDynamicLightEnv | DynamicLightEnvironmentComponent | protected |
mDynamicStaticMeshActor | DynamicSMActor_Spawnable | protected |
mEmitterActor | EmitterSpawnable | protected |
mErraticCoverCounter | int | protected |
mForceEnemyHighlight | bool | protected |
mForceHighlight | bool | protected |
mFracturedStaticMeshActor | H7FracturedDynMeshActor | protected |
mGridController | H7CombatMapGridController | protectedwrite |
mHasCreatureStack | bool | protected |
mHasObstacle | bool | protected |
mHasObstacleNearby | bool | protected |
mHasRemains | bool | protected |
mHasWarUnit | bool | protected |
mIsAbilityHighlight | bool | protected |
mIsForeshadow | bool | protected |
mIsForeshadowAlt | bool | protected |
mIsGatePassage | bool | protected |
mIsMerged | bool | protected |
mIsMergedOn2ndLayer | bool | protected |
mIsMouseOver | bool | protected |
mIsMouseOverMaster | int | protectedwrite |
mIsPassable | bool | protected |
mIsSelected | bool | protected |
mIsSelectedAlly | bool | protected |
mIsSelectedDeadAlly | bool | protected |
mIsSelectedEnemy | bool | protected |
mIsSiegeWallCover | bool | protected |
mIsWarfareBuffer | bool | protected |
mMaster | H7CombatMapCell | protected |
mMaster2ndLayer | H7CombatMapCell | protected |
mMaterial | MaterialInterface | protected |
mMergedCells | array<H7CombatMapCell> | protected |
mMergedCells2ndLayer | array<H7CombatMapCell> | protected |
mMouseOverMaster | H7CombatMapCell | protected |
mNeighbours | array<H7CombatMapCell> | protected |
mObstacle | H7CombatObstacleObject | protected |
mOpportunity | float | protected |
mRandomObstaclePlacementFlag | bool | |
mRelevance | float | protected |
mRelevantUnits | array<H7Unit> | protected |
mRune | H7RuneUnit | protected |
mSelectionType | H7StructsAndEnumsNative.ESelectionType | protected |
mSuperAlgorithmTrapPlacementRDA | float | |
mThreat | float | protected |
mThreatUnits | array<H7Unit> | protected |
mWarUnit | H7WarUnit | protected |
Functions¶
| Name | Declaration |
|---|---|
AddRelevantUnit | function AddRelevantUnit(H7Unit Unit) |
AddRuneUnit | function AddRuneUnit(H7RuneUnit runeUnit) |
AddThreatUnit | function AddThreatUnit(H7Unit Unit) |
CanPlaceCreatureStack | native function bool CanPlaceCreatureStack(H7CreatureStack creatureStack) |
CellHasAdjacentCreature | function bool CellHasAdjacentCreature(optional H7Player dasPlayer) |
ClearRelevantUnits | function ClearRelevantUnits() |
ClearThreatUnits | function ClearThreatUnits() |
DataChanged | function DataChanged(optional string cause) |
DespawnCreatureRemains | function DespawnCreatureRemains() |
GetAbilityManager | function H7AbilityManager GetAbilityManager() |
GetBuffManager | native function H7BuffManager GetBuffManager() |
GetCellsHitByCellSize | native function GetCellsHitByCellSize(H7StructsAndEnumsNative.ECellSize cellSize, out array<H7CombatMapCell> activeCells, optional bool cleanNoneCells = false) |
GetCellsHitByCellSizeXY | native function GetCellsHitByCellSizeXY(int cellX, int cellY, out array<H7CombatMapCell> activeCells, optional bool cleanNoneCells = false) |
GetCellSize | function H7StructsAndEnumsNative.ECellSize GetCellSize() |
GetCellSize2ndLayer | function H7StructsAndEnumsNative.ECellSize GetCellSize2ndLayer() |
GetCenterByCreatureDim | function Vector GetCenterByCreatureDim(int creatureDim) |
GetCenterPos | native function Vector GetCenterPos() |
GetCenterPosBySize | native function Vector GetCenterPosBySize(H7StructsAndEnumsNative.ECellSize Size, optional bool useMaster = true, optional bool use2ndLayer = false) |
GetCenterPosFor2ndLayer | native function Vector GetCenterPosFor2ndLayer() |
GetCreatureStack | native function H7CreatureStack GetCreatureStack() |
GetDeadCreatureStack | function H7CreatureStack GetDeadCreatureStack() |
GetEffectManager | function H7EffectManager GetEffectManager() |
GetEventManager | native function H7EventManager GetEventManager() |
GetForceEnemyHightlight | function bool GetForceEnemyHightlight() |
GetForceHightlight | function bool GetForceHightlight() |
GetGridDistanceTo | function IntPoint GetGridDistanceTo(H7CombatMapCell targetCell) |
GetHeightFromSize | function float GetHeightFromSize(H7StructsAndEnumsNative.ECellSize Size) |
GetMaster | function H7CombatMapCell GetMaster() |
GetMaster2ndLayer | function H7CombatMapCell GetMaster2ndLayer() |
GetMergedCells | function array<H7CombatMapCell> GetMergedCells() |
GetMergedCells2ndLayer | function array<H7CombatMapCell> GetMergedCells2ndLayer() |
GetMouseOverMaster | function H7CombatMapCell GetMouseOverMaster() |
GetNeighbours | function array<H7CombatMapCell> GetNeighbours() |
GetObstacle | native function H7CombatObstacleObject GetObstacle() |
GetOpportunity | function float GetOpportunity() |
GetPosition1x1 | function Vector GetPosition1x1() |
GetPreparedAbility | function H7BaseAbility GetPreparedAbility() |
GetRelevance | function float GetRelevance() |
GetRelevantUnits | function array<H7Unit> GetRelevantUnits() |
GetRuneUnit | function H7RuneUnit GetRuneUnit() |
GetSelectionType | function H7StructsAndEnumsNative.ESelectionType GetSelectionType() |
GetTargetable | function H7IEffectTargetable GetTargetable(optional bool ignoreDeadCreatures = false) |
GetThreat | function float GetThreat() |
GetThreatUnits | function array<H7Unit> GetThreatUnits() |
GetThreatUnitsNum | function int GetThreatUnitsNum() |
GetUnit | native function H7Unit GetUnit() |
GetWarfareUnit | function H7WarUnit GetWarfareUnit() |
GetWidthFromSize | function float GetWidthFromSize(H7StructsAndEnumsNative.ECellSize Size) |
HasActiveAura | native function bool HasActiveAura() |
HasAIDanger | native function bool HasAIDanger(H7CreatureStack creatureStack) |
HasCreatureStack | function bool HasCreatureStack() |
HasCreatureStackOnDeadStack | function bool HasCreatureStackOnDeadStack() |
HasDeadCreatureStack | function bool HasDeadCreatureStack() |
HasErraticCover | function bool HasErraticCover() |
HasHostileAuras | native function bool HasHostileAuras(H7CreatureStack creatureStack) |
HasObstacle | function bool HasObstacle() |
HasObstacleNearby | function bool HasObstacleNearby() |
HasPassableAllies | native function bool HasPassableAllies(H7CreatureStack creatureStack) |
HasRemains | function bool HasRemains() |
HasRune | function bool HasRune() |
HasTrap | function bool HasTrap() |
HasUnit | function bool HasUnit() |
HasWarfareUnit | function bool HasWarfareUnit() |
HideRemains | function HideRemains(bool Value) |
Init | function Init(H7CombatMapGridController gridController) |
IsAbilityHighlight | function bool IsAbilityHighlight() |
IsBlocked | native function bool IsBlocked(H7CreatureStack ignoreCreatureStack, optional bool ignoreAllCreatureStacks) |
IsForeshadow | native function bool IsForeshadow() |
IsForeshadowAlt | function bool IsForeshadowAlt() |
IsGatePassage | function bool IsGatePassage() |
IsMerged | function bool IsMerged() |
IsPassable | function bool IsPassable() |
IsSelected | function bool IsSelected() |
IsSiegeWallCover | function bool IsSiegeWallCover() |
IsSlaveOf | native function bool IsSlaveOf(H7CombatMapCell cell) |
IsUnitRelevant | function bool IsUnitRelevant(H7Unit Unit) |
IsUnitThreat | function bool IsUnitThreat(H7Unit Unit) |
IsWarfareBuffer | function bool IsWarfareBuffer() |
ModifyOpportunity | function ModifyOpportunity(float opMod) |
ModifyThreat | function ModifyThreat(float threatMod) |
PlaceCreature | event PlaceCreature(H7CreatureStack creatureStack, optional bool isCreatureMoving = false) |
PlaceDeadCreature | function PlaceDeadCreature(H7CreatureStack creatureStack) |
PlaceObstacle | function PlaceObstacle(H7CombatObstacleObject obstacleToPlace) |
PlaceRuneUnit | function PlaceRuneUnit(H7RuneUnit runeUnit) |
PlaceWarfareUnit | function PlaceWarfareUnit(H7WarUnit warUnit) |
PrepareAbility | function PrepareAbility(H7BaseAbility Ability) |
RemoveCreature | protected function RemoveCreature() |
RemoveCreatureStack | function RemoveCreatureStack() |
RemoveDeadCreature | protected function RemoveDeadCreature() |
RemoveDeadCreatureStack | function RemoveDeadCreatureStack() |
RemoveObstacle | protected function RemoveObstacle() |
RemoveObstacles | function RemoveObstacles(optional bool removeFromList = true) |
RemoveRelevantUnit | function RemoveRelevantUnit(H7Unit Unit) |
RemoveRune | protected function RemoveRune() |
RemoveRuneUnit | function RemoveRuneUnit() |
RemoveThreatUnit | function RemoveThreatUnit(H7Unit Unit) |
RemoveWarfare | protected function RemoveWarfare() |
RemoveWarfareUnit | function RemoveWarfareUnit() |
RenderDebugCellStateInfo | function RenderDebugCellStateInfo(Canvas myCanvas, int Version) |
SetAbilityHighlight | function SetAbilityHighlight(bool highlight) |
SetCellSize | function SetCellSize(H7StructsAndEnumsNative.ECellSize newCellSize) |
SetCellSize2ndLayer | function SetCellSize2ndLayer(H7StructsAndEnumsNative.ECellSize newCellSize) |
SetCreatureStack | function SetCreatureStack(H7CreatureStack newCreatureStack) |
SetDeadCreatureStack | function SetDeadCreatureStack(H7CreatureStack newDeadCreatureStack) |
SetDying | function SetDying(bool Value) |
SetErraticCover | function SetErraticCover(bool Value) |
SetForceEnemyHightlight | function SetForceEnemyHightlight(bool Value) |
SetForceHighlight | function SetForceHighlight(bool Value) |
SetForeshadow | native function SetForeshadow(bool newIsForeshadow, optional bool updateMat = true) |
SetForeshadowAlt | native function SetForeshadowAlt(bool newIsForeshadowAlt) |
SetGatePassage | function SetGatePassage(bool P) |
SetHasObstacleNearby | function SetHasObstacleNearby(bool val) |
SetMaster | function SetMaster(H7CombatMapCell newMaster) |
SetMaster2ndLayer | function SetMaster2ndLayer(H7CombatMapCell newMaster) |
SetMergedCells | function SetMergedCells(array<H7CombatMapCell> newMergedCells) |
SetMergedCells2ndLayer | function SetMergedCells2ndLayer(array<H7CombatMapCell> newMergedCells) |
SetMouseOver | native function SetMouseOver(bool newIsMouseOver, optional int isMouseOverMaster = 0, optional H7CombatMapCell mouseOverMaster) |
SetNeighbours | function SetNeighbours(array<H7CombatMapCell> newNeighbours) |
SetObstacle | function SetObstacle(H7CombatObstacleObject newObstacle) |
SetOpportunity | function SetOpportunity(float Op) |
SetPassable | function SetPassable(bool newIsPassable) |
SetRelevance | function SetRelevance(float Op) |
SetRelevantUnits | function SetRelevantUnits(array<H7Unit> units) |
SetSelected | native function SetSelected(bool newIsSelected) |
SetSelectedAlly | function SetSelectedAlly(bool newIsSelected) |
SetSelectedDeadAlly | function SetSelectedDeadAlly(bool newIsSelected) |
SetSelectedEnemy | function SetSelectedEnemy(bool newIsSelected) |
SetSelectedMerged | function SetSelectedMerged(bool newIsSelected, optional H7StructsAndEnumsNative.ESelectionType Type = 1) |
SetSelectedMergedAlly | function SetSelectedMergedAlly(bool newIsSelected) |
SetSelectedMergedDeadAlly | function SetSelectedMergedDeadAlly(bool newIsSelected) |
SetSelectedMergedEnemy | function SetSelectedMergedEnemy(bool newIsSelected) |
SetSelectionType | function SetSelectionType(H7StructsAndEnumsNative.ESelectionType newSelectionType) |
SetSiegeWallCover | function SetSiegeWallCover(bool IsSiegeWallCover) |
SetThreat | function SetThreat(float threat) |
SetThreatUnits | function SetThreatUnits(array<H7Unit> units) |
SetWarfareBuffer | function SetWarfareBuffer(bool val) |
SetWarfareUnit | function SetWarfareUnit(H7WarUnit warUnit) |
SlaveHasCreatureStack | native function bool SlaveHasCreatureStack() |
SpawnCreatureRemains | function SpawnCreatureRemains() |
UpdateSelectionType | native function UpdateSelectionType() |
UsePreparedAbility | function UsePreparedAbility(H7IEffectTargetable Target) |