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
Functions
| Name | Declaration |
GeneratePreviewMinimap | function GeneratePreviewMinimap() |
GeneratePreviewMinimapNative | private final native function GeneratePreviewMinimapNative(out Texture2DDynamic minimapTextureSurface, out Texture2DDynamic minimapTextureUnderground) |
GetColorOfZoneTheme | native function Color GetColorOfZoneTheme(H7RMGData rmgData, int ThemeIndex, bool IsUnderground) |
GetData | function H7RMGInGamePropertiesData GetData() |
GetMinimapBuildings | function array<H7RMGPreviewBuilding> GetMinimapBuildings() |
GetNewSeed | native function int GetNewSeed() |
GetPreviewMinimapSurface | function Texture2DDynamic GetPreviewMinimapSurface() |
GetPreviewMinimapUnderground | function Texture2DDynamic GetPreviewMinimapUnderground() |
GetProperties | function H7RMGProperties GetProperties() |
GetPropertiesInGame | function H7RMGInGamePropertiesData GetPropertiesInGame() |
GetPropertiesOfString | function H7RMGInGamePropertiesData GetPropertiesOfString(string rmgString) |
GetRMGPropertiesToString | native function string GetRMGPropertiesToString() |
GetStringOfProperties | function string GetStringOfProperties(H7RMGInGamePropertiesData propertiesData) |
InitProperties | function InitProperties() |
InitPropertiesNative | native function InitPropertiesNative() |
IsGenerated | function bool IsGenerated() |
PaintPreviewMinimap | private final native function PaintPreviewMinimap(H7RMGGrid Grid, out array pixelData) |
ParseInGamePropertiesToRMGPreview | event ParseInGamePropertiesToRMGPreview(H7RMGInGamePropertiesData inGameProperties) |
ResolveMapSize | native function float ResolveMapSize(H7RMGStructsAndEnums.EMapSize MapSize) |
SetData | function SetData(H7RMGInGamePropertiesData propertiesData) |
SetRMGPropertiesFromString | native 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
| From | Members |
| Object | 13 properties, 308 functions |