Table of Contents

Class ReplaceableGameList<T>

Namespace
SkyrimForge.Game
Assembly
SkyrimForge.dll

A run of entries that a plugin reads and replaces whole.

public sealed class ReplaceableGameList<T> : ReadableGameList<T>

Type Parameters

T

The type one entry becomes.

Inheritance
ReplaceableGameList<T>
Inherited Members

Methods

Replace(IEnumerable<T>)

Replaces the run with entries. The new run is allocated on the game's heap, and the run it replaces is not freed. A run that stores its entries whole receives a copy of each, so the entries read from it afterwards are the copies.

public void Replace(IEnumerable<T> entries)

Parameters

entries IEnumerable<T>

Exceptions

ArgumentNullException

entries is null.

ArgumentException

entries has more entries than the run's count field can store, or the game's heap could not allocate the new run.