Struct ReadablePredictedTrain.ProtectedList<TList, T>
- Namespace
- Game.Content.Features.Trains.Predictions
- Assembly
- Game.Content.Features.dll
public readonly struct ReadablePredictedTrain.ProtectedList<TList, T> where TList : IReadOnlyList<T>
Type Parameters
TListT
- Extension Methods
Constructors
ProtectedList(TrainPredictionReadHandle, TList)
public ProtectedList(TrainPredictionReadHandle handle, TList list)
Parameters
handleTrainPredictionReadHandlelistTList
Properties
Count
public int Count { get; }
Property Value
- int
this[Index]
public T this[Index index] { get; }
Parameters
indexIndex
Property Value
- T
this[int]
public T this[int index] { get; }
Parameters
indexint
Property Value
- T
Methods
GetEnumerator()
public ListEnumerator<TList, T> GetEnumerator()
Returns
- ListEnumerator<TList, T>