Table of Contents

Struct ConnectableSubStation

Namespace
Game.Content.Trains
Assembly
Game.Content.dll
public readonly struct ConnectableSubStation
Extension Methods

Constructors

ConnectableSubStation(SubStationData, IEnumerable<GlobalChunkCoordinate>, ISimulation, IConnectableSimulation)

public ConnectableSubStation(SubStationData data, IEnumerable<GlobalChunkCoordinate> chunks, ISimulation railSimulation, IConnectableSimulation otherSimulation)

Parameters

data SubStationData
chunks IEnumerable<GlobalChunkCoordinate>
railSimulation ISimulation
otherSimulation IConnectableSimulation

Fields

Data

public readonly SubStationData Data

Field Value

SubStationData

OtherSimulation

[CanBeNull]
public readonly IConnectableSimulation OtherSimulation

Field Value

IConnectableSimulation

RailSimulation

public readonly ISimulation RailSimulation

Field Value

ISimulation

Properties

Chunks

public IReadOnlyCollection<GlobalChunkCoordinate> Chunks { get; }

Property Value

IReadOnlyCollection<GlobalChunkCoordinate>

Methods

Dispose()

public void Dispose()

Equals(ConnectableSubStation)

public bool Equals(ConnectableSubStation other)

Parameters

other ConnectableSubStation

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(ConnectableSubStation, ConnectableSubStation)

public static bool operator ==(ConnectableSubStation left, ConnectableSubStation right)

Parameters

left ConnectableSubStation
right ConnectableSubStation

Returns

bool

operator !=(ConnectableSubStation, ConnectableSubStation)

public static bool operator !=(ConnectableSubStation left, ConnectableSubStation right)

Parameters

left ConnectableSubStation
right ConnectableSubStation

Returns

bool