H7AdventureGridManager¶
Class in MMH7Game · MMH7Game.H7AdventureGridManager · native, config, placeable
Object › Actor › H7EditorAdventureGridManager › H7AdventureGridManager
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
cPickupCost | int | config, protected |
cTogglePlaneWithoutExploration | bool | config, protected |
cUseFogOfWar | bool | config, protected |
cWinAllCombatCheat | bool | config, protected |
mAdventureController | H7AdventureController | protected |
mAreaOfControls | array<H7AreaOfControlCells> | protected |
mCurrentGridIndex | int | protected |
mFogRevealPreviewParticles | array | protected |
mHitActor | Actor | protected |
mHoveredCell | H7AdventureMapCell | protected |
mIsInitialized | bool | protected |
mIsTeleportPhase | bool | protected |
mLastArmyAction | H7StructsAndEnums.ECurrentArmyAction | protected |
mLastHitAsset | H7TownAsset | protected |
mPathfinder | H7AdventureMapPathfinder | protected |
mPathPreviewer | H7AdventureMapPathPreviewer | protected |
Functions¶
| Name | Declaration |
|---|---|
CheckPickup | function bool CheckPickup(out array<H7AdventureMapCell> Path, H7AdventureMapCell Start, H7AdventureArmy armyToAttack, H7AdventureHero currentHero) |
ClearFogRevealPreview | function ClearFogRevealPreview() |
DeleteLastHitActor | function DeleteLastHitActor() |
DoAttackArmy | function bool DoAttackArmy(Vector targetPos, optional bool forceExecution = false, optional bool ignoreFoW = false) |
DoCurrentArmyActionByCell | function DoCurrentArmyActionByCell(H7AdventureMapCell cell) |
DoCurrentArmyActionByCursor | function DoCurrentArmyActionByCursor(optional bool wasDoubleClick) |
DoExplore | function bool DoExplore(H7AdventureMapCell targetCell, optional bool forceExecution = false, optional bool ignoreFoW = false, optional bool noCut = false) |
DoGarrisonVisit | function bool DoGarrisonVisit(Vector targetPos, optional bool forceExecution = false, optional bool ignoreFoW = true) |
DoLeaveShelter | function DoLeaveShelter() |
DoMeetArmy | function bool DoMeetArmy(Vector targetPos, optional bool forceExecution = false) |
DoMoveByVector | function DoMoveByVector(Vector targetPos, optional bool forceExecution = false) |
DoMovePatrol | function bool DoMovePatrol(H7AdventureMapCell Target, optional bool forceExecution = false) |
DoMoveToCell | function bool DoMoveToCell(H7AdventureMapCell Target, optional bool forceExecution = false, optional bool ignoreFoW = false) |
DoRecruitVisit | function bool DoRecruitVisit(Vector targetPos, optional bool forceExecution = false) |
DoSelectArmy | function DoSelectArmy(H7AdventureArmy armyToSelect) |
DoTradeWithArmy | function bool DoTradeWithArmy(Vector targetPos, optional bool forceExecution = false, optional bool ignoreFoW = false) |
DoUpgradeVisit | function bool DoUpgradeVisit(H7VisitableSite targetSite, optional bool forceExecution = false, optional bool ignoreFoW = false) |
DoVisit | function bool DoVisit(H7VisitableSite targetSite, optional bool forceExecution = false, optional bool ignoreFoW = false) |
DoVisitByVector | function bool DoVisitByVector(Vector targetPos, optional bool forceExecution = false) |
FinishFoWInit | native function FinishFoWInit() |
FlagCheck | function bool FlagCheck(H7Flag flag) |
GetAllGrids | function array<H7AdventureMapGridController> GetAllGrids() |
GetAoCArrayIndexByAoCIndex | function int GetAoCArrayIndexByAoCIndex(int Idx) |
GetAoCCells | function array<H7AreaOfControlCells> GetAoCCells() |
GetAoCCellsByIntPoint | function array<H7AdventureMapCell> GetAoCCellsByIntPoint(IntPoint Point) |
GetAoCIndexOfCell | function int GetAoCIndexOfCell(H7AdventureMapCell cell) |
GetAoCPointsByIntPoint | native function GetAoCPointsByIntPoint(IntPoint Point, int Index, out array<IntPoint> Points) |
GetArmyActionByHero | function H7StructsAndEnums.ECurrentArmyAction GetArmyActionByHero(H7AdventureHero hitHero, optional out float chanceOfAction) |
GetArmyActionByVisitable | function H7StructsAndEnums.ECurrentArmyAction GetArmyActionByVisitable(H7VisitableSite visitableSite, optional out float chanceOfAction) |
GetCell | function H7AdventureMapCell GetCell(int X, int Y, optional int GridIndex = -1) |
GetCellByWorldLocation | native function H7AdventureMapCell GetCellByWorldLocation(Vector pos) |
GetCellsByWorldExtent | function array<H7AdventureMapCell> GetCellsByWorldExtent(Vector MinPos, Vector MaxPos) |
GetClosestGridToPosition | function H7AdventureMapGridController GetClosestGridToPosition(Vector targetPos) |
GetCurrentArmyAction | function H7StructsAndEnums.ECurrentArmyAction GetCurrentArmyAction(out H7AdventureArmy mouserOverArmy, out Vector hitPosition, optional out float chanceOfAction, optional out H7AdventureObject HitObject, optional out Actor HitActor) |
GetCurrentGrid | native function H7AdventureMapGridController GetCurrentGrid() |
GetCurrentGridIndex | function int GetCurrentGridIndex() |
GetGridByIndex | function H7AdventureMapGridController GetGridByIndex(int Index) |
GetInstance | static simulated function H7AdventureGridManager GetInstance() |
GetLastHitActor | function Actor GetLastHitActor() |
GetMouseHitActorAndLocation | native function Actor GetMouseHitActorAndLocation(out Vector HitLocation) |
GetNumOfAoCs | function int GetNumOfAoCs() |
GetPathfinder | function H7AdventureMapPathfinder GetPathfinder() |
GetPathPreviewer | function H7AdventureMapPathPreviewer GetPathPreviewer() |
GetPickupCost | function int GetPickupCost() |
GetVisitableSites | native function array<H7VisitableSite> GetVisitableSites() |
HandleAbortManipulation | function HandleAbortManipulation() |
HandleTownHighlight | function HandleTownHighlight() |
Init | event Init() |
InitFOWControllers | function InitFOWControllers() |
IsFogOfWarUsed | function bool IsFogOfWarUsed() |
IsInitialized | function bool IsInitialized() |
IsTeleportPhase | function bool IsTeleportPhase() |
IsTogglePlaneWithoutExplorationCheatUsed | function bool IsTogglePlaneWithoutExplorationCheatUsed() |
IsUnderFog | function bool IsUnderFog(H7AdventureMapCell cell) |
IsWinAllCheatUsed | function bool IsWinAllCheatUsed() |
MPSetPlayerReady | protected simulated function MPSetPlayerReady() |
PostBeginPlay | simulated function PostBeginPlay() |
RemoveVisitableSite | function RemoveVisitableSite(H7VisitableSite Site) |
SetAdventureController | function SetAdventureController(H7AdventureController advCtrl) |
SetCurrentGridByPos | function SetCurrentGridByPos(Vector targetPos) |
SetHoverDotDelayed | function SetHoverDotDelayed() |
SetNextCurrentGrid | function SetNextCurrentGrid() |
SetTeleportPhase | function SetTeleportPhase(bool isPhase) |
SetTogglePlaneWithoutExploration | function SetTogglePlaneWithoutExploration(bool val) |
SetWinAllCheat | function SetWinAllCheat(bool val) |
ShowFCTNoPath | protected function ShowFCTNoPath(Vector TargetLocation, int pathLength, H7Player Initiator, optional H7IEffectTargetable Target, optional bool Pickup) |
ToggleFogOfWarUsed | function ToggleFogOfWarUsed() |
UpdateFogRevealPreview | function UpdateFogRevealPreview() |
UpdateHoverEffects | protected event UpdateHoverEffects() |
UpdateVisitableSiteRef | function UpdateVisitableSiteRef(H7VisitableSite oldSite, H7VisitableSite newSite) |
WipeLandscapeCache | native function WipeLandscapeCache() |
Default values¶
Inherited¶
| From | Members |
|---|---|
| H7EditorAdventureGridManager | Properties: mGridList Functions: GetGridList, PerformFullScan |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |