Class ReadableGameListExtensions
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.dll
Provides extension members for ReadableGameList<T>.
public static class ReadableGameListExtensions
- Inheritance
-
ReadableGameListExtensions
- Inherited Members
Methods
GetSlots<T>(ReadableGameList<T>)
Returns a copy of every entry of the container, a null one included, so an index into the list is an index into the container.
public static IReadOnlyList<T?> GetSlots<T>(this ReadableGameList<T> list) where T : struct
Parameters
listReadableGameList<T>
Returns
- IReadOnlyList<T?>
Type Parameters
T
Remarks
Get() omits a null entry, which a form list's forms, a controller manager's sequences, and the game's other containers of pointers may store.
Exceptions
- NotSupportedException
The container stores handles or is a map.