Class TrainCargoTransferReceiverPredictionSimulation
- Namespace
- Game.Content.Trains.Predictions
- Assembly
- Game.Content.dll
public class TrainCargoTransferReceiverPredictionSimulation : ITrainStationPredictionSubSimulation, ISimulation, ITrainTransferPredictionSimulation
- Inheritance
-
objectTrainCargoTransferReceiverPredictionSimulation
- Implements
- Extension Methods
Constructors
TrainCargoTransferReceiverPredictionSimulation(TrainWagonCargoTypeId, IExchangeLayerFilterConfig, TrainCargoPredictionBuffer)
public TrainCargoTransferReceiverPredictionSimulation(TrainWagonCargoTypeId cargoType, IExchangeLayerFilterConfig filterConfig, TrainCargoPredictionBuffer transferBuffer)
Parameters
cargoTypeTrainWagonCargoTypeIdfilterConfigIExchangeLayerFilterConfigtransferBufferTrainCargoPredictionBuffer
Properties
TransferBuffer
public TrainCargoPredictionBuffer TransferBuffer { get; }
Property Value
Methods
Predict<TCargoPredictionList, TCargoTypeList>(TCargoPredictionList, TCargoTypeList)
public void Predict<TCargoPredictionList, TCargoTypeList>(TCargoPredictionList cargoPredictions, TCargoTypeList cargoTypes) where TCargoPredictionList : IList<TrainCargoPrediction> where TCargoTypeList : IReadOnlyList<TrainWagonCargoTypeId>
Parameters
cargoPredictionsTCargoPredictionListcargoTypesTCargoTypeList
Type Parameters
TCargoPredictionListTCargoTypeList