Skip to content

H7RMGGrid

Class in MMH7Game · MMH7Game.H7RMGGrid · native

Object › H7RMGGrid

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

Properties

NameTypeNotes
mEditorGridH7AdventureMapGridControllerprivate
mGridarray<H7RMGGridColumns>private
mInvisibleRoadPathsarray<H7RMGPath>private
mLandscapeLandscapeprivate
mRoadPathCellsarray<H7RMGPathCells>private
mRoadPathsarray<H7RMGPath>private
mWorldPositionVectorprivate
Pointsarray<IntPoint>private

Functions

NameDeclaration
AddZoneInfluencenative function AddZoneInfluence(H7RMGZoneTemplate Temp, int Radius)
DestroyGridnative function DestroyGrid()
GetCellByIntPointnative function H7RMGCell GetCellByIntPoint(IntPoint P)
GetCellByPointnative function H7RMGCell GetCellByPoint(int X, int Y)
GetGridPartnative function GetGridPart(out array<H7RMGGridColumns> Part, int fromX, int toX, int fromY, int toY)
GetGridPartsnative function GetGridParts(out array<H7RMGGridPart> parts, int Amount, int Buffer)
GetHeightnative function int GetHeight()
GetWidthnative function int GetWidth()
InitAoCsnative function InitAoCs()
InitEditorGridnative function InitEditorGrid(H7EditorAdventureGridManager gridManager, H7RMGProperties Props)
InitRMGGridnative function InitRMGGrid(Landscape Landscape, out H7RMGProperties Props, optional bool isPreviewingMinimap = false, optional IntPoint GridSize)
ShuffleArrayevent ShuffleArray(out array<H7RMGCell> arr)
ShuffleCellsnative function ShuffleCells(out array<H7RMGCell> arr)
ShuffleComparerfunction int ShuffleComparer(H7RMGCell A, H7RMGCell B)

Inherited

FromMembers
Object13 properties, 308 functions