Interface ISavedStateList
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
A list in a saved-state store, whose elements are stores of their own.
public interface ISavedStateList : IReadOnlyList<ISavedStateEntries>, IReadOnlyCollection<ISavedStateEntries>, IEnumerable<ISavedStateEntries>, IEnumerable
- Inherited Members
- Extension Methods
Remarks
A list is the store nested under its key. That store contains the list's length and a store for each element. Form IDs stored in an element are mapped through the save's load order. An element addresses an index and not the entries it was read from, so after RemoveAt(int) an element obtained earlier reads and writes the entries now at its index.
Methods
Add()
Appends an empty element.
ISavedStateEntries Add()
Returns
- ISavedStateEntries
The element's store.
RemoveAt(int)
Removes the element at index and shifts later elements down.
void RemoveAt(int index)
Parameters
indexintThe element's index.
Exceptions
- ArgumentOutOfRangeException
indexis out of range.