Table of Contents

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

TList
T
Extension Methods

Constructors

ProtectedList(TrainPredictionReadHandle, TList)

public ProtectedList(TrainPredictionReadHandle handle, TList list)

Parameters

handle TrainPredictionReadHandle
list TList

Properties

Count

public int Count { get; }

Property Value

int

this[Index]

public T this[Index index] { get; }

Parameters

index Index

Property Value

T

this[int]

public T this[int index] { get; }

Parameters

index int

Property Value

T

Methods

GetEnumerator()

public ListEnumerator<TList, T> GetEnumerator()

Returns

ListEnumerator<TList, T>