Table of Contents

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

descriptor BuildingDescriptor
placementAllowability PlacementAllowability
placementIndex int

Properties

Descriptor

public BuildingDescriptor Descriptor { get; }

Property Value

BuildingDescriptor

PlacementAllowability

public PlacementAllowability PlacementAllowability { get; }

Property Value

PlacementAllowability

PlacementIndex

public int PlacementIndex { get; }

Property Value

int

Methods

Equals(BuildingPlacement)

public bool Equals(BuildingPlacement other)

Parameters

other BuildingPlacement

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int