Table of Contents

Class HubSlots

Namespace
Root
Assembly
Game.Content.dll
public class HubSlots
Inheritance
object
HubSlots
Extension Methods

Constructors

HubSlots(GlobalChunkTransform, short)

public HubSlots(GlobalChunkTransform hubChunkTransform, short maxBuildingLayer)

Parameters

hubChunkTransform GlobalChunkTransform
maxBuildingLayer short

Fields

InputSlots

public List<GlobalTileTransform> InputSlots

Field Value

List<GlobalTileTransform>

UnavailableInputSlots

public List<GlobalTileTransform> UnavailableInputSlots

Field Value

List<GlobalTileTransform>

Properties

Center

public GlobalTileCoordinate Center { get; }

Property Value

GlobalTileCoordinate

InputCount

public int InputCount { get; }

Property Value

int

Methods

HasSlotAtPosition(in GlobalTileCoordinate)

public bool HasSlotAtPosition(in GlobalTileCoordinate position)

Parameters

position GlobalTileCoordinate

Returns

bool

IsCoordinateInHubChunk(GlobalTileCoordinate)

public bool IsCoordinateInHubChunk(GlobalTileCoordinate position)

Parameters

position GlobalTileCoordinate

Returns

bool

IsValidBeltPortInput(in GlobalTileTransform)

public bool IsValidBeltPortInput(in GlobalTileTransform sourceTransform)

Parameters

sourceTransform GlobalTileTransform

Returns

bool

SetInputSlotCount(int)

public void SetInputSlotCount(int availableSlots)

Parameters

availableSlots int