Skip to content

H7CombatMapCell

Class in MMH7Game · MMH7Game.H7CombatMapCell · native

Object › H7BaseCell › H7CombatMapCell

Using it from Lua
h7.find_all("H7CombatMapCell")            -- live instances
h7.find_class("MMH7Game.H7CombatMapCell")   -- the class
h7.hook("MMH7Game.H7CombatMapCell.AddRelevantUnit", fn)

Properties

NameTypeNotes
mBuffManagerH7BuffManagerprotected
mCellSizeH7StructsAndEnumsNative.ECellSizeprotected
mCellSize2ndLayerH7StructsAndEnumsNative.ECellSizeprotected
mCenterPositionarray<Vector>protected
mCombatControllerH7CombatControllerprotected
mCoverDecalDecalComponentprotected
mCreatureStackH7CreatureStackprotected
mDeadCreatureStackH7CreatureStackprotected
mDecalDecalComponentprotected
mDecalOffsetVectorprotected
mDynamicLightEnvDynamicLightEnvironmentComponentprotected
mDynamicStaticMeshActorDynamicSMActor_Spawnableprotected
mEmitterActorEmitterSpawnableprotected
mErraticCoverCounterintprotected
mForceEnemyHighlightboolprotected
mForceHighlightboolprotected
mFracturedStaticMeshActorH7FracturedDynMeshActorprotected
mGridControllerH7CombatMapGridControllerprotectedwrite
mHasCreatureStackboolprotected
mHasObstacleboolprotected
mHasObstacleNearbyboolprotected
mHasRemainsboolprotected
mHasWarUnitboolprotected
mIsAbilityHighlightboolprotected
mIsForeshadowboolprotected
mIsForeshadowAltboolprotected
mIsGatePassageboolprotected
mIsMergedboolprotected
mIsMergedOn2ndLayerboolprotected
mIsMouseOverboolprotected
mIsMouseOverMasterintprotectedwrite
mIsPassableboolprotected
mIsSelectedboolprotected
mIsSelectedAllyboolprotected
mIsSelectedDeadAllyboolprotected
mIsSelectedEnemyboolprotected
mIsSiegeWallCoverboolprotected
mIsWarfareBufferboolprotected
mMasterH7CombatMapCellprotected
mMaster2ndLayerH7CombatMapCellprotected
mMaterialMaterialInterfaceprotected
mMergedCellsarray<H7CombatMapCell>protected
mMergedCells2ndLayerarray<H7CombatMapCell>protected
mMouseOverMasterH7CombatMapCellprotected
mNeighboursarray<H7CombatMapCell>protected
mObstacleH7CombatObstacleObjectprotected
mOpportunityfloatprotected
mRandomObstaclePlacementFlagbool
mRelevancefloatprotected
mRelevantUnitsarray<H7Unit>protected
mRuneH7RuneUnitprotected
mSelectionTypeH7StructsAndEnumsNative.ESelectionTypeprotected
mSuperAlgorithmTrapPlacementRDAfloat
mThreatfloatprotected
mThreatUnitsarray<H7Unit>protected
mWarUnitH7WarUnitprotected

Functions

NameDeclaration
AddRelevantUnitfunction AddRelevantUnit(H7Unit Unit)
AddRuneUnitfunction AddRuneUnit(H7RuneUnit runeUnit)
AddThreatUnitfunction AddThreatUnit(H7Unit Unit)
CanPlaceCreatureStacknative function bool CanPlaceCreatureStack(H7CreatureStack creatureStack)
CellHasAdjacentCreaturefunction bool CellHasAdjacentCreature(optional H7Player dasPlayer)
ClearRelevantUnitsfunction ClearRelevantUnits()
ClearThreatUnitsfunction ClearThreatUnits()
DataChangedfunction DataChanged(optional string cause)
DespawnCreatureRemainsfunction DespawnCreatureRemains()
GetAbilityManagerfunction H7AbilityManager GetAbilityManager()
GetBuffManagernative function H7BuffManager GetBuffManager()
GetCellsHitByCellSizenative function GetCellsHitByCellSize(H7StructsAndEnumsNative.ECellSize cellSize, out array<H7CombatMapCell> activeCells, optional bool cleanNoneCells = false)
GetCellsHitByCellSizeXYnative function GetCellsHitByCellSizeXY(int cellX, int cellY, out array<H7CombatMapCell> activeCells, optional bool cleanNoneCells = false)
GetCellSizefunction H7StructsAndEnumsNative.ECellSize GetCellSize()
GetCellSize2ndLayerfunction H7StructsAndEnumsNative.ECellSize GetCellSize2ndLayer()
GetCenterByCreatureDimfunction Vector GetCenterByCreatureDim(int creatureDim)
GetCenterPosnative function Vector GetCenterPos()
GetCenterPosBySizenative function Vector GetCenterPosBySize(H7StructsAndEnumsNative.ECellSize Size, optional bool useMaster = true, optional bool use2ndLayer = false)
GetCenterPosFor2ndLayernative function Vector GetCenterPosFor2ndLayer()
GetCreatureStacknative function H7CreatureStack GetCreatureStack()
GetDeadCreatureStackfunction H7CreatureStack GetDeadCreatureStack()
GetEffectManagerfunction H7EffectManager GetEffectManager()
GetEventManagernative function H7EventManager GetEventManager()
GetForceEnemyHightlightfunction bool GetForceEnemyHightlight()
GetForceHightlightfunction bool GetForceHightlight()
GetGridDistanceTofunction IntPoint GetGridDistanceTo(H7CombatMapCell targetCell)
GetHeightFromSizefunction float GetHeightFromSize(H7StructsAndEnumsNative.ECellSize Size)
GetMasterfunction H7CombatMapCell GetMaster()
GetMaster2ndLayerfunction H7CombatMapCell GetMaster2ndLayer()
GetMergedCellsfunction array<H7CombatMapCell> GetMergedCells()
GetMergedCells2ndLayerfunction array<H7CombatMapCell> GetMergedCells2ndLayer()
GetMouseOverMasterfunction H7CombatMapCell GetMouseOverMaster()
GetNeighboursfunction array<H7CombatMapCell> GetNeighbours()
GetObstaclenative function H7CombatObstacleObject GetObstacle()
GetOpportunityfunction float GetOpportunity()
GetPosition1x1function Vector GetPosition1x1()
GetPreparedAbilityfunction H7BaseAbility GetPreparedAbility()
GetRelevancefunction float GetRelevance()
GetRelevantUnitsfunction array<H7Unit> GetRelevantUnits()
GetRuneUnitfunction H7RuneUnit GetRuneUnit()
GetSelectionTypefunction H7StructsAndEnumsNative.ESelectionType GetSelectionType()
GetTargetablefunction H7IEffectTargetable GetTargetable(optional bool ignoreDeadCreatures = false)
GetThreatfunction float GetThreat()
GetThreatUnitsfunction array<H7Unit> GetThreatUnits()
GetThreatUnitsNumfunction int GetThreatUnitsNum()
GetUnitnative function H7Unit GetUnit()
GetWarfareUnitfunction H7WarUnit GetWarfareUnit()
GetWidthFromSizefunction float GetWidthFromSize(H7StructsAndEnumsNative.ECellSize Size)
HasActiveAuranative function bool HasActiveAura()
HasAIDangernative function bool HasAIDanger(H7CreatureStack creatureStack)
HasCreatureStackfunction bool HasCreatureStack()
HasCreatureStackOnDeadStackfunction bool HasCreatureStackOnDeadStack()
HasDeadCreatureStackfunction bool HasDeadCreatureStack()
HasErraticCoverfunction bool HasErraticCover()
HasHostileAurasnative function bool HasHostileAuras(H7CreatureStack creatureStack)
HasObstaclefunction bool HasObstacle()
HasObstacleNearbyfunction bool HasObstacleNearby()
HasPassableAlliesnative function bool HasPassableAllies(H7CreatureStack creatureStack)
HasRemainsfunction bool HasRemains()
HasRunefunction bool HasRune()
HasTrapfunction bool HasTrap()
HasUnitfunction bool HasUnit()
HasWarfareUnitfunction bool HasWarfareUnit()
HideRemainsfunction HideRemains(bool Value)
Initfunction Init(H7CombatMapGridController gridController)
IsAbilityHighlightfunction bool IsAbilityHighlight()
IsBlockednative function bool IsBlocked(H7CreatureStack ignoreCreatureStack, optional bool ignoreAllCreatureStacks)
IsForeshadownative function bool IsForeshadow()
IsForeshadowAltfunction bool IsForeshadowAlt()
IsGatePassagefunction bool IsGatePassage()
IsMergedfunction bool IsMerged()
IsPassablefunction bool IsPassable()
IsSelectedfunction bool IsSelected()
IsSiegeWallCoverfunction bool IsSiegeWallCover()
IsSlaveOfnative function bool IsSlaveOf(H7CombatMapCell cell)
IsUnitRelevantfunction bool IsUnitRelevant(H7Unit Unit)
IsUnitThreatfunction bool IsUnitThreat(H7Unit Unit)
IsWarfareBufferfunction bool IsWarfareBuffer()
ModifyOpportunityfunction ModifyOpportunity(float opMod)
ModifyThreatfunction ModifyThreat(float threatMod)
PlaceCreatureevent PlaceCreature(H7CreatureStack creatureStack, optional bool isCreatureMoving = false)
PlaceDeadCreaturefunction PlaceDeadCreature(H7CreatureStack creatureStack)
PlaceObstaclefunction PlaceObstacle(H7CombatObstacleObject obstacleToPlace)
PlaceRuneUnitfunction PlaceRuneUnit(H7RuneUnit runeUnit)
PlaceWarfareUnitfunction PlaceWarfareUnit(H7WarUnit warUnit)
PrepareAbilityfunction PrepareAbility(H7BaseAbility Ability)
RemoveCreatureprotected function RemoveCreature()
RemoveCreatureStackfunction RemoveCreatureStack()
RemoveDeadCreatureprotected function RemoveDeadCreature()
RemoveDeadCreatureStackfunction RemoveDeadCreatureStack()
RemoveObstacleprotected function RemoveObstacle()
RemoveObstaclesfunction RemoveObstacles(optional bool removeFromList = true)
RemoveRelevantUnitfunction RemoveRelevantUnit(H7Unit Unit)
RemoveRuneprotected function RemoveRune()
RemoveRuneUnitfunction RemoveRuneUnit()
RemoveThreatUnitfunction RemoveThreatUnit(H7Unit Unit)
RemoveWarfareprotected function RemoveWarfare()
RemoveWarfareUnitfunction RemoveWarfareUnit()
RenderDebugCellStateInfofunction RenderDebugCellStateInfo(Canvas myCanvas, int Version)
SetAbilityHighlightfunction SetAbilityHighlight(bool highlight)
SetCellSizefunction SetCellSize(H7StructsAndEnumsNative.ECellSize newCellSize)
SetCellSize2ndLayerfunction SetCellSize2ndLayer(H7StructsAndEnumsNative.ECellSize newCellSize)
SetCreatureStackfunction SetCreatureStack(H7CreatureStack newCreatureStack)
SetDeadCreatureStackfunction SetDeadCreatureStack(H7CreatureStack newDeadCreatureStack)
SetDyingfunction SetDying(bool Value)
SetErraticCoverfunction SetErraticCover(bool Value)
SetForceEnemyHightlightfunction SetForceEnemyHightlight(bool Value)
SetForceHighlightfunction SetForceHighlight(bool Value)
SetForeshadownative function SetForeshadow(bool newIsForeshadow, optional bool updateMat = true)
SetForeshadowAltnative function SetForeshadowAlt(bool newIsForeshadowAlt)
SetGatePassagefunction SetGatePassage(bool P)
SetHasObstacleNearbyfunction SetHasObstacleNearby(bool val)
SetMasterfunction SetMaster(H7CombatMapCell newMaster)
SetMaster2ndLayerfunction SetMaster2ndLayer(H7CombatMapCell newMaster)
SetMergedCellsfunction SetMergedCells(array<H7CombatMapCell> newMergedCells)
SetMergedCells2ndLayerfunction SetMergedCells2ndLayer(array<H7CombatMapCell> newMergedCells)
SetMouseOvernative function SetMouseOver(bool newIsMouseOver, optional int isMouseOverMaster = 0, optional H7CombatMapCell mouseOverMaster)
SetNeighboursfunction SetNeighbours(array<H7CombatMapCell> newNeighbours)
SetObstaclefunction SetObstacle(H7CombatObstacleObject newObstacle)
SetOpportunityfunction SetOpportunity(float Op)
SetPassablefunction SetPassable(bool newIsPassable)
SetRelevancefunction SetRelevance(float Op)
SetRelevantUnitsfunction SetRelevantUnits(array<H7Unit> units)
SetSelectednative function SetSelected(bool newIsSelected)
SetSelectedAllyfunction SetSelectedAlly(bool newIsSelected)
SetSelectedDeadAllyfunction SetSelectedDeadAlly(bool newIsSelected)
SetSelectedEnemyfunction SetSelectedEnemy(bool newIsSelected)
SetSelectedMergedfunction SetSelectedMerged(bool newIsSelected, optional H7StructsAndEnumsNative.ESelectionType Type = 1)
SetSelectedMergedAllyfunction SetSelectedMergedAlly(bool newIsSelected)
SetSelectedMergedDeadAllyfunction SetSelectedMergedDeadAlly(bool newIsSelected)
SetSelectedMergedEnemyfunction SetSelectedMergedEnemy(bool newIsSelected)
SetSelectionTypefunction SetSelectionType(H7StructsAndEnumsNative.ESelectionType newSelectionType)
SetSiegeWallCoverfunction SetSiegeWallCover(bool IsSiegeWallCover)
SetThreatfunction SetThreat(float threat)
SetThreatUnitsfunction SetThreatUnits(array<H7Unit> units)
SetWarfareBufferfunction SetWarfareBuffer(bool val)
SetWarfareUnitfunction SetWarfareUnit(H7WarUnit warUnit)
SlaveHasCreatureStacknative function bool SlaveHasCreatureStack()
SpawnCreatureRemainsfunction SpawnCreatureRemains()
UpdateSelectionTypenative function UpdateSelectionType()
UsePreparedAbilityfunction UsePreparedAbility(H7IEffectTargetable Target)

Default values

mIsPassable=true

Inherited

FromMembers
H7BaseCellProperties: mAuraAbilities, Mid, mPosition, mRotation, mWorldCenter, mWorldCenterOrig
Functions: AddAuraAbility, ApplyDamage, DataChanged, GetAbilityManager, GetActionID, GetAttack, GetAuras, GetBuffManager, GetCellPosition, GetCenterByCreatureDim, GetCenterPosByDimensions, GetCombatArmy, GetEffectManager, GetEntityType, GetEventManager, GetGridPosition, GetHitPoints, GetID, GetLocation, GetLuckDestiny, GetMagic, GetMaximumDamage, GetMinimumDamage, GetName, GetOriginal, GetOriginalLocation, GetPlayer, GetPreparedAbility, GetResistanceModifierFor, GetRotation, GetSchool, GetStackSize, GetTargetable, HasAuras, IsDefaultAttackActive, PrepareAbility, RemoveAuraAbility, SetCellPosition, SetLocation, SetOriginalLocation, SetRotation, TriggerEvents, UsePreparedAbility
Object13 properties, 308 functions