Class OverlappingPlacementData
- Namespace
- Game.Placement.Data
- Assembly
- SPZGameAssembly.dll
public class OverlappingPlacementData : IPlacementData
- Inheritance
-
object
OverlappingPlacementData
- Implements
-
- Extension Methods
-
Constructors
OverlappingPlacementData()
public OverlappingPlacementData()
Properties
AdditionalData
public IPlacementAdditionalData AdditionalData { get; }
Property Value
- IPlacementAdditionalData
BlueprintCost
public BlueprintCurrency BlueprintCost { get; set; }
Property Value
- BlueprintCurrency
BuildingsCount
public int BuildingsCount { get; }
Property Value
- int
CanAfford
public bool CanAfford { get; }
Property Value
- bool
CanAffordBlueprintCost
public bool CanAffordBlueprintCost { get; set; }
Property Value
- bool
CanFitChunkLimit
public bool CanFitChunkLimit { get; set; }
Property Value
- bool
ChunkCost
public ChunkLimitCurrency ChunkCost { get; set; }
Property Value
- ChunkLimitCurrency
CostBlueprintPoints
public bool CostBlueprintPoints { get; set; }
Property Value
- bool
public ICollection<GlobalTileCoordinate> ExtraBuildingsToRemovePositions { get; }
Property Value
- ICollection<GlobalTileCoordinate>
ExtraIslandsToRemovePositions
public ICollection<GlobalChunkCoordinate> ExtraIslandsToRemovePositions { get; }
Property Value
- ICollection<GlobalChunkCoordinate>
IslandsCount
public int IslandsCount { get; }
Property Value
- int
MaxBuildingIndex
public int MaxBuildingIndex { get; }
Property Value
- int
MaxIslandIndex
public int MaxIslandIndex { get; }
Property Value
- int
Methods
AddBuildingPlacement(BuildingPlacement)
public void AddBuildingPlacement(BuildingPlacement buildingPlacement)
Parameters
buildingPlacement BuildingPlacement
AddIslandPlacement(IslandPlacement)
public void AddIslandPlacement(IslandPlacement islandPlacement)
Parameters
islandPlacement IslandPlacement
Clear()
Dispose()
GetAllBuildings(ICollection<BuildingPlacement>)
public void GetAllBuildings(ICollection<BuildingPlacement> outBuildings)
Parameters
outBuildings ICollection<BuildingPlacement>
GetAllIslands(ICollection<IslandPlacement>)
public void GetAllIslands(ICollection<IslandPlacement> outIslands)
Parameters
outIslands ICollection<IslandPlacement>
HasBuildingPlacementAt(GlobalTileCoordinate)
public bool HasBuildingPlacementAt(GlobalTileCoordinate position)
Parameters
position GlobalTileCoordinate
Returns
- bool
HasIslandPlacementAt(GlobalChunkCoordinate)
public bool HasIslandPlacementAt(GlobalChunkCoordinate position)
Parameters
position GlobalChunkCoordinate
Returns
- bool
InvalidateBuildingAt(GlobalTileCoordinate)
public void InvalidateBuildingAt(GlobalTileCoordinate position)
Parameters
position GlobalTileCoordinate
InvalidateIslandAt(GlobalChunkCoordinate)
public void InvalidateIslandAt(GlobalChunkCoordinate position)
Parameters
position GlobalChunkCoordinate
RemoveBuildingPlacement(BuildingPlacement)
public void RemoveBuildingPlacement(BuildingPlacement buildingPlacement)
Parameters
buildingPlacement BuildingPlacement
RemoveIslandPlacement(IslandPlacement)
public void RemoveIslandPlacement(IslandPlacement islandPlacement)
Parameters
islandPlacement IslandPlacement
ReplaceBuildingPlacement(BuildingPlacement)
public void ReplaceBuildingPlacement(BuildingPlacement replacement)
Parameters
replacement BuildingPlacement
ReplaceIslandPlacement(IslandPlacement)
public void ReplaceIslandPlacement(IslandPlacement replacement)
Parameters
replacement IslandPlacement
ToString()
public override string ToString()
Returns
- string
TryGetBuildingPlacementsAt(GlobalTileCoordinate, ICollection<BuildingPlacement>)
public bool TryGetBuildingPlacementsAt(GlobalTileCoordinate position, ICollection<BuildingPlacement> buildings)
Parameters
position GlobalTileCoordinate
buildings ICollection<BuildingPlacement>
Returns
- bool
TryGetIslandPlacementsAt(GlobalChunkCoordinate, ICollection<IslandPlacement>)
public bool TryGetIslandPlacementsAt(GlobalChunkCoordinate position, ICollection<IslandPlacement> islands)
Parameters
position GlobalChunkCoordinate
islands ICollection<IslandPlacement>
Returns
- bool