Table of Contents

Class TrainCargoTransferSenderPredictionSimulation

Namespace
Game.Content.Trains.Predictions
Assembly
Game.Content.dll
public class TrainCargoTransferSenderPredictionSimulation : ITrainStationPredictionSubSimulation, ISimulation, ITrainTransferPredictionSimulation
Inheritance
object
TrainCargoTransferSenderPredictionSimulation
Implements
Extension Methods

Constructors

TrainCargoTransferSenderPredictionSimulation(TrainWagonCargoTypeId, TrainCargoPredictionBuffer)

public TrainCargoTransferSenderPredictionSimulation(TrainWagonCargoTypeId cargoType, TrainCargoPredictionBuffer transferBuffer)

Parameters

cargoType TrainWagonCargoTypeId
transferBuffer TrainCargoPredictionBuffer

Properties

TransferBuffer

public TrainCargoPredictionBuffer TransferBuffer { get; }

Property Value

TrainCargoPredictionBuffer

Methods

Predict<TCargoPredictionList, TCargoTypeList>(TCargoPredictionList, TCargoTypeList)

public void Predict<TCargoPredictionList, TCargoTypeList>(TCargoPredictionList cargoPredictions, TCargoTypeList cargoTypes) where TCargoPredictionList : IList<TrainCargoPrediction> where TCargoTypeList : IReadOnlyList<TrainWagonCargoTypeId>

Parameters

cargoPredictions TCargoPredictionList
cargoTypes TCargoTypeList

Type Parameters

TCargoPredictionList
TCargoTypeList