Table of Contents

Struct ReadablePredictedTrain

Namespace
Game.Content.Features.Trains.Predictions
Assembly
Game.Content.Features.dll
public readonly struct ReadablePredictedTrain
Extension Methods

Fields

Color

public readonly RailColor Color

Field Value

RailColor

Properties

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

WagonCargo

public ReadablePredictedTrain.ProtectedList<List<TrainCargoPrediction>, TrainCargoPrediction> WagonCargo { get; }

Property Value

ReadablePredictedTrain.ProtectedList<List<TrainCargoPrediction>, TrainCargoPrediction>

WagonCount

public int WagonCount { get; }

Property Value

int

WagonType

public ReadablePredictedTrain.ProtectedList<List<TrainWagonCargoTypeId>, TrainWagonCargoTypeId> WagonType { get; }

Property Value

ReadablePredictedTrain.ProtectedList<List<TrainWagonCargoTypeId>, TrainWagonCargoTypeId>

Methods

Dispose()

public void Dispose()

Equals(ReadablePredictedTrain)

public bool Equals(ReadablePredictedTrain other)

Parameters

other ReadablePredictedTrain

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

IsValid()

public bool IsValid()

Returns

bool