H7AdventureMapGridController¶
Class in MMH7Game · MMH7Game.H7AdventureMapGridController · native, config, placeable
Object › Actor › H7EditorMapGrid › H7EditorAdventureGrid › H7AdventureMapGridController
Implements: H7IEffectTargetable, H7ICaster
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAbilityManager | H7AbilityManager | protected |
mAuraManager | H7AuraManager | protected |
mBuffManager | H7BuffManager | protected |
mDynamicAOCTexture | Texture2DDynamic | protected |
mEffectManager | H7EffectManager | protected |
mEventManager | H7EventManager | protected |
mFogOfWarController | H7FOWController | protected |
mGridWayPoints | array<H7AdventureMapCell> | protected |
mIndex | int | protected |
mUnFoggedTiles | array<IntPoint> | protected |
Functions¶
| Name | Declaration |
|---|---|
AddCellToItsAoC | protected native function AddCellToItsAoC(H7AdventureMapCell cell) |
AddVisitableSiteToList | function AddVisitableSiteToList(H7VisitableSite Site) |
ApplyDamage | simulated function ApplyDamage(H7CombatResult Result, int resultIdx, bool isForecast, optional bool isRetaliation = false, optional bool raiseEvent = true) |
DataChanged | function DataChanged(optional string cause) |
Destroyed | simulated event Destroyed() |
GenerateAOCTexture | native function GenerateAOCTexture() |
GetAbilityManager | native function H7AbilityManager GetAbilityManager() |
GetActionID | function H7StructsAndEnumsNative.ECommandTag GetActionID(H7BaseAbility Ability) |
GetAOCTexture | function Texture2DDynamic GetAOCTexture() |
GetAttack | event int GetAttack() |
GetAuraManager | function H7AuraManager GetAuraManager() |
GetBuffManager | native function H7BuffManager GetBuffManager() |
GetCell | native function H7AdventureMapCell GetCell(int X, int Y) |
GetCellByWorldLocation | native function H7AdventureMapCell GetCellByWorldLocation(Vector pos) |
GetCellsAsAoCMatrix | function array |
GetCellsByWorldExtent | function array<H7AdventureMapCell> GetCellsByWorldExtent(Vector MinPos, Vector MaxPos) |
GetCellsFromDimensions | native function GetCellsFromDimensions(H7AdventureMapCell targetCell, IntPoint dim, out array<H7AdventureMapCell> Cells, optional H7StructsAndEnumsNative.ECellSize originSize = 0, optional bool IsAreaFilled = true) |
GetCellsFromShape | function array<H7AdventureMapCell> GetCellsFromShape(H7AdventureMapCell targetCell, array<IntPoint> Shape, optional H7StructsAndEnumsNative.ECellSize originSize = 0) |
GetCombatArmy | native function H7CombatArmy GetCombatArmy() |
GetEffectManager | function H7EffectManager GetEffectManager() |
GetEntityType | native function H7StructsAndEnumsNative.EUnitType GetEntityType() |
GetEventManager | native function H7EventManager GetEventManager() |
GetFOWController | function H7FOWController GetFOWController() |
GetGridPosition | native function IntPoint GetGridPosition() |
GetHitPoints | function int GetHitPoints() |
GetID | native function int GetID() |
GetIndex | function int GetIndex() |
GetLocation | native function Vector GetLocation() |
GetLuckDestiny | native function int GetLuckDestiny() |
GetMagic | event int GetMagic() |
GetMaximumDamage | event float GetMaximumDamage() |
GetMinimumDamage | event float GetMinimumDamage() |
GetName | function string GetName() |
GetOriginal | native function H7ICaster GetOriginal() |
GetPlayer | native function H7Player GetPlayer() |
GetPreparedAbility | function H7BaseAbility GetPreparedAbility() |
GetResistanceModifierFor | native function float GetResistanceModifierFor(H7StructsAndEnumsNative.EAbilitySchool school, array<H7StructsAndEnumsNative.ESpellTag> tags, optional bool checkOnlyBuffs = false, optional bool forcedResistanceOnly = false) |
GetSchool | event H7StructsAndEnumsNative.EAbilitySchool GetSchool() |
GetStackSize | function int GetStackSize() |
GetUnFoggedTiles | function array<IntPoint> GetUnFoggedTiles() |
GetVisitableSites | function array<H7VisitableSite> GetVisitableSites() |
InitCells | protected native function InitCells() |
InitGrid | function InitGrid(int Index) |
IsDefaultAttackActive | native function bool IsDefaultAttackActive() |
PostBeginPlay | simulated function PostBeginPlay() |
PrepareAbility | function PrepareAbility(H7BaseAbility Ability) |
RemoveVisitableSite | function RemoveVisitableSite(H7VisitableSite Site) |
SetFogOfWarController | function SetFogOfWarController(H7FOWController fogController) |
Tick | event Tick(float DeltaTime) |
TriggerEvents | function TriggerEvents(H7StructsAndEnumsNative.ETrigger triggerEvent, bool forecast, optional H7EventContainerStruct container) |
UpdateVisitableSiteRef | function UpdateVisitableSiteRef(H7VisitableSite oldSite, H7VisitableSite newSite) |
UsePreparedAbility | function UsePreparedAbility(H7IEffectTargetable Target) |