Struct BuildingPlacement
- Namespace
- Game.Placement.Processing
- Assembly
- SPZGameAssembly.dll
public readonly struct BuildingPlacement : IEntityPlacement<BuildingDescriptor>, IEntityPlacement
- Implements
- Extension Methods
Constructors
BuildingPlacement(BuildingDescriptor, PlacementAllowability, int)
public BuildingPlacement(BuildingDescriptor descriptor, PlacementAllowability placementAllowability, int placementIndex)
Parameters
descriptorBuildingDescriptorplacementAllowabilityPlacementAllowabilityplacementIndexint
Properties
Descriptor
public BuildingDescriptor Descriptor { get; }
Property Value
PlacementAllowability
public PlacementAllowability PlacementAllowability { get; }
Property Value
PlacementIndex
public int PlacementIndex { get; }
Property Value
- int
Methods
Equals(BuildingPlacement)
public bool Equals(BuildingPlacement other)
Parameters
otherBuildingPlacement
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int