Class TrainCargoTransferSenderPredictionSimulation
- Namespace
- Game.Content.Trains.Predictions
- Assembly
- Game.Content.dll
public class TrainCargoTransferSenderPredictionSimulation : ITrainStationPredictionSubSimulation, ISimulation, ITrainTransferPredictionSimulation
- Inheritance
-
objectTrainCargoTransferSenderPredictionSimulation
- Implements
- Extension Methods
Constructors
TrainCargoTransferSenderPredictionSimulation(TrainWagonCargoTypeId, TrainCargoPredictionBuffer)
public TrainCargoTransferSenderPredictionSimulation(TrainWagonCargoTypeId cargoType, TrainCargoPredictionBuffer transferBuffer)
Parameters
cargoTypeTrainWagonCargoTypeIdtransferBufferTrainCargoPredictionBuffer
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