Table of Contents

Struct WritablePredictedTrain.ProtectedList<T>

Namespace
Game.Content.Features.Trains.Predictions
Assembly
Game.Content.Features.dll
public readonly struct WritablePredictedTrain.ProtectedList<T>

Type Parameters

T
Extension Methods

Constructors

ProtectedList(TrainPredictionWriteHandle, IList<T>)

public ProtectedList(TrainPredictionWriteHandle handle, IList<T> list)

Parameters

handle TrainPredictionWriteHandle
list IList<T>

Properties

Count

public int Count { get; }

Property Value

int

this[Index]

public T this[Index index] { get; set; }

Parameters

index Index

Property Value

T

Methods

Equals(ProtectedList<T>)

public bool Equals(WritablePredictedTrain.ProtectedList<T> other)

Parameters

other WritablePredictedTrain.ProtectedList<T>

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Pop()

public T Pop()

Returns

T

Push(T)

public void Push(T prediction)

Parameters

prediction T