Struct WritablePredictedTrain
- Namespace
- Game.Content.Features.Trains.Predictions
- Assembly
- Game.Content.Features.dll
public readonly struct WritablePredictedTrain
- Extension Methods
Fields
Color
public readonly RailColor Color
Field Value
Properties
WagonCargo
public WritablePredictedTrain.ProtectedList<TrainCargoPrediction> WagonCargo { get; }
Property Value
WagonType
public WritablePredictedTrain.ProtectedList<TrainWagonCargoTypeId> WagonType { get; }
Property Value
Methods
Dispose()
public void Dispose()
Equals(WritablePredictedTrain)
public bool Equals(WritablePredictedTrain other)
Parameters
otherWritablePredictedTrain
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
IsValid()
public bool IsValid()
Returns
- bool