Table of Contents

Class TrainCargoTransferReceiverPredictionSimulation

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

Constructors

TrainCargoTransferReceiverPredictionSimulation(TrainWagonCargoTypeId, IExchangeLayerFilterConfig, TrainCargoPredictionBuffer)

public TrainCargoTransferReceiverPredictionSimulation(TrainWagonCargoTypeId cargoType, IExchangeLayerFilterConfig filterConfig, TrainCargoPredictionBuffer transferBuffer)

Parameters

cargoType TrainWagonCargoTypeId
filterConfig IExchangeLayerFilterConfig
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