PlacementRequirements

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
public class PlacementRequirements

Summary

Placement requirements for a building.

Metadata

Namespace: GridPlacement.Core.Data.Placement

Source File: cs/Core/Data/Placement/PlacementData.cs

Assembly: GridPlacement.Core

Type: class

Properties

TerrainTypes

1
public List<string> TerrainTypes { get; set; }

Required terrain types.


ZoneTypes

1
public List<string> ZoneTypes { get; set; }

Required zone types.


MinDistanceFromBuildings

1
public int MinDistanceFromBuildings { get; set; }

Minimum distance from other buildings.


MaxDistanceFromBuildingTypes

1
public Dictionary<string, int> MaxDistanceFromBuildingTypes { get; set; }

Maximum distance from certain building types. Key: Building type, Value: Maximum distance


RequiresWater

1
public bool RequiresWater { get; set; }

Whether the building must be placed near water.


RequiresFlatTerrain

1
public bool RequiresFlatTerrain { get; set; }

Whether the building must be placed on flat terrain.


CustomRequirements

1
public Dictionary<string, object> CustomRequirements { get; set; }

Custom requirements. Key: Requirement name, Value: Requirement data