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
TThe 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
entriesIEnumerable<T>
Exceptions
- ArgumentNullException
entriesisnull.- ArgumentException
entrieshas more entries than the run's count field can store, or the game's heap could not allocate the new run.