Table of Contents

Class ReadableGameList<T>

Namespace
SkyrimForge.Game
Assembly
SkyrimForge.dll

A container that is a field of a game object, read through the object rather than copied out of it.

public class ReadableGameList<T>

Type Parameters

T

The type one entry becomes.

Inheritance
ReadableGameList<T>
Derived
Inherited Members

Properties

Count

The number of entries in the container, read without copying them, a null one included. A container of handles counts the handles that name an object.

public int Count { get; }

Property Value

int

Methods

Get()

Returns a copy of the container's entries, reading the container and building a list on each call.

public IReadOnlyList<T> Get()

Returns

IReadOnlyList<T>

Remarks

A container of handles omits a handle that names no object, as Count does. A container of pointers omits a null entry, which Count includes, so an entry after a null one is at a lower index. GetSlots returns every entry at its index. A fixed run of pointers is read by slot here too, and a slot with no object is a null entry.