Skip to content

H7AdventureMapGridController

Class in MMH7Game · MMH7Game.H7AdventureMapGridController · native, config, placeable

Object › Actor › H7EditorMapGrid › H7EditorAdventureGrid › H7AdventureMapGridController

Implements: H7IEffectTargetable, H7ICaster

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

Properties

NameTypeNotes
mAbilityManagerH7AbilityManagerprotected
mAuraManagerH7AuraManagerprotected
mBuffManagerH7BuffManagerprotected
mDynamicAOCTextureTexture2DDynamicprotected
mEffectManagerH7EffectManagerprotected
mEventManagerH7EventManagerprotected
mFogOfWarControllerH7FOWControllerprotected
mGridWayPointsarray<H7AdventureMapCell>protected
mIndexintprotected
mUnFoggedTilesarray<IntPoint>protected

Functions

NameDeclaration
AddCellToItsAoCprotected native function AddCellToItsAoC(H7AdventureMapCell cell)
AddVisitableSiteToListfunction AddVisitableSiteToList(H7VisitableSite Site)
ApplyDamagesimulated function ApplyDamage(H7CombatResult Result, int resultIdx, bool isForecast, optional bool isRetaliation = false, optional bool raiseEvent = true)
DataChangedfunction DataChanged(optional string cause)
Destroyedsimulated event Destroyed()
GenerateAOCTexturenative function GenerateAOCTexture()
GetAbilityManagernative function H7AbilityManager GetAbilityManager()
GetActionIDfunction H7StructsAndEnumsNative.ECommandTag GetActionID(H7BaseAbility Ability)
GetAOCTexturefunction Texture2DDynamic GetAOCTexture()
GetAttackevent int GetAttack()
GetAuraManagerfunction H7AuraManager GetAuraManager()
GetBuffManagernative function H7BuffManager GetBuffManager()
GetCellnative function H7AdventureMapCell GetCell(int X, int Y)
GetCellByWorldLocationnative function H7AdventureMapCell GetCellByWorldLocation(Vector pos)
GetCellsAsAoCMatrixfunction array GetCellsAsAoCMatrix()
GetCellsByWorldExtentfunction array<H7AdventureMapCell> GetCellsByWorldExtent(Vector MinPos, Vector MaxPos)
GetCellsFromDimensionsnative function GetCellsFromDimensions(H7AdventureMapCell targetCell, IntPoint dim, out array<H7AdventureMapCell> Cells, optional H7StructsAndEnumsNative.ECellSize originSize = 0, optional bool IsAreaFilled = true)
GetCellsFromShapefunction array<H7AdventureMapCell> GetCellsFromShape(H7AdventureMapCell targetCell, array<IntPoint> Shape, optional H7StructsAndEnumsNative.ECellSize originSize = 0)
GetCombatArmynative function H7CombatArmy GetCombatArmy()
GetEffectManagerfunction H7EffectManager GetEffectManager()
GetEntityTypenative function H7StructsAndEnumsNative.EUnitType GetEntityType()
GetEventManagernative function H7EventManager GetEventManager()
GetFOWControllerfunction H7FOWController GetFOWController()
GetGridPositionnative function IntPoint GetGridPosition()
GetHitPointsfunction int GetHitPoints()
GetIDnative function int GetID()
GetIndexfunction int GetIndex()
GetLocationnative function Vector GetLocation()
GetLuckDestinynative function int GetLuckDestiny()
GetMagicevent int GetMagic()
GetMaximumDamageevent float GetMaximumDamage()
GetMinimumDamageevent float GetMinimumDamage()
GetNamefunction string GetName()
GetOriginalnative function H7ICaster GetOriginal()
GetPlayernative function H7Player GetPlayer()
GetPreparedAbilityfunction H7BaseAbility GetPreparedAbility()
GetResistanceModifierFornative function float GetResistanceModifierFor(H7StructsAndEnumsNative.EAbilitySchool school, array<H7StructsAndEnumsNative.ESpellTag> tags, optional bool checkOnlyBuffs = false, optional bool forcedResistanceOnly = false)
GetSchoolevent H7StructsAndEnumsNative.EAbilitySchool GetSchool()
GetStackSizefunction int GetStackSize()
GetUnFoggedTilesfunction array<IntPoint> GetUnFoggedTiles()
GetVisitableSitesfunction array<H7VisitableSite> GetVisitableSites()
InitCellsprotected native function InitCells()
InitGridfunction InitGrid(int Index)
IsDefaultAttackActivenative function bool IsDefaultAttackActive()
PostBeginPlaysimulated function PostBeginPlay()
PrepareAbilityfunction PrepareAbility(H7BaseAbility Ability)
RemoveVisitableSitefunction RemoveVisitableSite(H7VisitableSite Site)
SetFogOfWarControllerfunction SetFogOfWarController(H7FOWController fogController)
Tickevent Tick(float DeltaTime)
TriggerEventsfunction TriggerEvents(H7StructsAndEnumsNative.ETrigger triggerEvent, bool forecast, optional H7EventContainerStruct container)
UpdateVisitableSiteReffunction UpdateVisitableSiteRef(H7VisitableSite oldSite, H7VisitableSite newSite)
UsePreparedAbilityfunction UsePreparedAbility(H7IEffectTargetable Target)

Inherited

FromMembers
H7EditorAdventureGridProperties: cMaximumAdventureGridHeight, cMaximumAdventureGridWidth, cMaximumTileGradient, cMinimumAdventureGridHeight, cMinimumAdventureGridWidth, mAdventureCells, mAoCPreviewActive, MapSizeDefinitions, mAreaOfControlLords, mAreaOfControlVassals, mBlockingPreviewActive, mCameraHeightTool, mCombatListPreviewActive, mDebugAoCMaterialInstance, mDebugBlockingMaterialInstance, mDebugCombatListMaterialInstance, mDebugFoWOverrideMaterialInstance, mDebugGridActive, mDebugGridMaterialInstance, mFoWOverridePreviewActive, mMinimapCapture, mRecaptureMinimapOnSave, mScanGridData, mShowAocInEditor, mShowAocInGame, mShowBlockingInEditor, mShowBlockingInGame, mShowCombatListInEditor, mShowCombatListInGame, mShowFoWOverrideInEditor, mShowFoWOverrideInGame, mShowGameGrid, mUsedAreaOfControls, mVisitableActorList
Functions: CalculateMapSize, GetAoCArray, GetCameraHeightAt, GetCameraHeightTrace, GetCell, GetHeight, IsCameraPosInsideGrid, UpdateDebugGrid, UpdateTerrainData
H7EditorMapGridProperties: mEditorPreviewMesh, mGridSizeX, mGridSizeY, Mid, mInitialLandscapePosition, mLandscape, mSynchLandscapeAndGridPosition
Functions: GetCenter, GetGridSizeX, GetGridSizeY, GetMouseHitActorAndLocation
Actor156 properties, 262 functions
Object13 properties, 308 functions