Skip to content

H7RMGInGameProperties

Class in MMH7Game · MMH7Game.H7RMGInGameProperties · native

Object › H7RMGInGameProperties

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

Properties

NameTypeNotes
mMinimapBuildingsarray<H7RMGPreviewBuilding>protected
mPreviewMinimapSurfaceTexture2DDynamicprotected
mPreviewMinimapUndergroundTexture2DDynamicprotected
mPropertiesH7RMGPropertiesprotected
mPropertiesDataH7RMGInGamePropertiesDataprotected
mRMGDataH7RMGDataprotected
mRMGMainH7RMGMainprotected

Functions

NameDeclaration
GeneratePreviewMinimapfunction GeneratePreviewMinimap()
GeneratePreviewMinimapNativeprivate final native function GeneratePreviewMinimapNative(out Texture2DDynamic minimapTextureSurface, out Texture2DDynamic minimapTextureUnderground)
GetColorOfZoneThemenative function Color GetColorOfZoneTheme(H7RMGData rmgData, int ThemeIndex, bool IsUnderground)
GetDatafunction H7RMGInGamePropertiesData GetData()
GetMinimapBuildingsfunction array<H7RMGPreviewBuilding> GetMinimapBuildings()
GetNewSeednative function int GetNewSeed()
GetPreviewMinimapSurfacefunction Texture2DDynamic GetPreviewMinimapSurface()
GetPreviewMinimapUndergroundfunction Texture2DDynamic GetPreviewMinimapUnderground()
GetPropertiesfunction H7RMGProperties GetProperties()
GetPropertiesInGamefunction H7RMGInGamePropertiesData GetPropertiesInGame()
GetPropertiesOfStringfunction H7RMGInGamePropertiesData GetPropertiesOfString(string rmgString)
GetRMGPropertiesToStringnative function string GetRMGPropertiesToString()
GetStringOfPropertiesfunction string GetStringOfProperties(H7RMGInGamePropertiesData propertiesData)
InitPropertiesfunction InitProperties()
InitPropertiesNativenative function InitPropertiesNative()
IsGeneratedfunction bool IsGenerated()
PaintPreviewMinimapprivate final native function PaintPreviewMinimap(H7RMGGrid Grid, out array pixelData)
ParseInGamePropertiesToRMGPreviewevent ParseInGamePropertiesToRMGPreview(H7RMGInGamePropertiesData inGameProperties)
ResolveMapSizenative function float ResolveMapSize(H7RMGStructsAndEnums.EMapSize MapSize)
SetDatafunction SetData(H7RMGInGamePropertiesData propertiesData)
SetRMGPropertiesFromStringnative function bool SetRMGPropertiesFromString(string InStr)

Default values

mPropertiesData=(PlayerNumber=2,MapSize=EMapSize.MS_TINY,Seed=0,Richness=H7RMGInGame_Richness.H7RMG_RICHNESS_POOR,NeutralArmyStrength=H7RMGInGame_NeutralArmyStrengh.H7RMG_NAS_WEAK,WithTearOfAsha=false,OverTile=H7RMGInGame_OverTile.H7RMG_OT_PLAIN,UnderTile=H7RMGInGame_UnderTile.H7RMG_UT_FACELESSCI...
mProperties=(MapSize=EMapSize.MS_TINY,WithUnderground=false,UndergroundPercentage=50,LoadMap=true,PlayerNumber=2,Seed=0,Richness=1.0000000,BuildingDensity=1.0000000,BaseCritterStrength=500,SurfaceTopologySetup=none,UndergroundTopologySetup=none,SurfaceTopologySetupPath=none,UndergroundTopologySet...

Inherited

FromMembers
Object13 properties, 308 functions