mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Small cleanup.
This commit is contained in:
parent
f6772af246
commit
cc9f8cc84e
2 changed files with 5 additions and 1 deletions
|
|
@ -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 ] ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue