H7RMGBuilding¶
Class in MMH7Game · MMH7Game.H7RMGBuilding · native
Object › H7RMGBuilding
Subclasses: H7RMGResourceCluster, H7RMGTeleporter, H7RMGTreasureMarker
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAtLeastOne | bool | no declaration: type is approximate |
mBuildingArchetype | DynLoadObject | no declaration: type is approximate |
mBuildingType | H7RMGStructsAndEnums.ERMGBuildingType | protectedwrite |
mCanBePlacedInStartZone | bool | no declaration: type is approximate |
mCell | Object | no declaration: type is approximate |
mClusterRef | Object | no declaration: type is approximate |
mCountByType | bool | no declaration: type is approximate |
mDimension | struct | no declaration: type is approximate |
mFaction | Object | no declaration: type is approximate |
mGuardModifier | float | no declaration: type is approximate |
mHasRoadConnection | bool | no declaration: type is approximate |
mIgnoredByClusters | bool | no declaration: type is approximate |
mIsGuarded | bool | no declaration: type is approximate |
mMaxDistanceToSiteLord | int | no declaration: type is approximate |
mMaxDistanceToZoneExit | int | no declaration: type is approximate |
mMinDistanceToBorder | int | no declaration: type is approximate |
mMinDistanceToDifferentType | int | no declaration: type is approximate |
mMinDistanceToEqualType | int | no declaration: type is approximate |
mMinDistanceToMapBorder | int | no declaration: type is approximate |
mMinDistanceToSiteLord | int | no declaration: type is approximate |
mModifiedByRichness | bool | no declaration: type is approximate |
mNotMoreThanOne | bool | no declaration: type is approximate |
mNotMoreThanOnePerZone | bool | no declaration: type is approximate |
mOnePerCluster | bool | no declaration: type is approximate |
mOnlyWithTearOfAsha | bool | no declaration: type is approximate |
mPlacementModifier | float | no declaration: type is approximate |
mPlayerNum | byte | private |
mRoundingType | H7RMGStructsAndEnums.ERoundingType | protectedwrite |
mShareWeight | int | no declaration: type is approximate |
mSpawnedSites | array | no declaration: type is approximate |
mTranslation | struct | no declaration: type is approximate |
mUniformDistribution | bool | no declaration: type is approximate |
mUseAsChance | bool | no declaration: type is approximate |
mZoneLordRules | array | no declaration: type is approximate |
Functions¶
| Name | Declaration |
|---|---|
CanPlaceHere | native function bool CanPlaceHere(H7RMGCell targetCell, H7RMGGrid Grid, H7RMGZoneTemplate ZoneTemplate) |
GetBuildingArchetype | event H7VisitableSite GetBuildingArchetype() |
Default values¶
mDimension=(X=3,Y=3)
mIsGuarded=true
mCanBePlacedInStartZone=true
mGuardModifier=1.0000000
mMinDistanceToMapBorder=3
mPlacementModifier=0.5000000
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |