Skip to content

H7RMGZoneTemplate

Class in MMH7Game · MMH7Game.H7RMGZoneTemplate · native

Object › H7RMGZoneTemplate

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

Constants

NameValue
SMALL_ZONE_VAL0.401f

Properties

NameTypeNotes
mAdditionalBuildingsarray<H7RMGBuildingData>
mAreaBorderCellsarray<H7RMGCell>protectedwrite
mAreaCellsarray<H7RMGCell>protectedwrite
mBeachConnectionsarray<H7RMGCellPair>protectedwrite
mCanConSmallboolprotectedwrite
mConnectedZonesarray<H7RMGZoneTemplate>protectedwrite
mConnectorTypeH7RMGStructsAndEnums.ERMGConnectorTypeprotectedwrite
mCreatedConnectionsarray<H7RMGZoneTemplate>protectedwrite
mCritterStrengthintprotectedwrite
mDistanceNormModfloatprotectedwrite
mDistanceToStartintprotectedwrite
mDwellingsint[ECreatureTier]
mEntranceCellsarray<H7RMGCellPair>protectedwrite
mEntrancesarray<H7RMGCell>protectedwrite
mFactionH7Factionprotectedwrite
mGraphConnectionsarray<H7RMGZoneTemplate>protectedwrite
mGridIndexintprotectedwrite
mIndexintprotectedwrite
mIsFloodedboolprotectedwrite
mIslandBuildingsarray<H7RMGBuildingData>
mIsStartingZoneboolprotectedwrite
mLordTypeH7RMGStructsAndEnums.EAoCLordTypeprotectedwrite
mMaxConnectionsintprotectedwrite
mNamestringprotectedwrite
mPlacedBuildingsarray<H7RMGBuilding>protectedwrite
mPlayerNumH7StructsAndEnumsNative.EPlayerNumberprivate
mPlayerStartH7PlayerStartprotectedwrite
mPositionVector2Dprotectedwrite
mPredefinedBuildingsarray<H7RMGBuildingData>
mProbabilityfloatprotectedwrite
mSharePerDistanceintprotectedwrite
mShareValuesint[ERMGZoneShare]protectedwrite
mSizefloatprotectedwrite
mSpawnedArmiesarray<H7AdventureArmy>protectedwrite
mSpawnedBuildingsarray<H7VisitableSite>protectedwrite
mSpawnedCreaturesarray<H7RandomCreatureStack>protectedwrite
mThemeintprotectedwrite
mTmpDistanceintprotectedwrite
mTmpVDistancefloatprotectedwrite

Functions

NameDeclaration
ShuffleArrayevent ShuffleArray(out array<H7RMGBuilding> arr)
ShuffleComparerfunction int ShuffleComparer(H7RMGBuilding A, H7RMGBuilding B)
SortBuildingsevent SortBuildings()
SortComparerfunction int SortComparer(H7RMGBuildingData Data1, H7RMGBuildingData Data2)

Default values

mName="New Zone"
mSize=1.0000000
mDistanceNormMod=14.0000000
mCritterStrength=100
mCanConSmall=true
mProbability=1.0000000
mMaxConnections=3
mSharePerDistance=10
mDistanceToStart=-1
mTmpDistance=-1
mIndex=-1

Inherited

FromMembers
Object13 properties, 308 functions