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