Small cleanup.

This commit is contained in:
Ottermandias 2022-06-14 18:03:42 +02:00
parent f6772af246
commit cc9f8cc84e
2 changed files with 5 additions and 1 deletions

View file

@ -54,7 +54,7 @@ public unsafe class CharacterUtility : IDisposable
.Select( i => Array.IndexOf( RelevantIndices, i ) ).ToArray();
public (IntPtr Address, int Size)[] DefaultResources = new (IntPtr, int)[RelevantIndices.Length];
public readonly (IntPtr Address, int Size)[] DefaultResources = new (IntPtr, int)[RelevantIndices.Length];
public (IntPtr Address, int Size) DefaultResource( int fullIdx )
=> DefaultResources[ ReverseIndices[ fullIdx ] ];