mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Maybe fix migration for metadata containing mods, also fix negative values in mod collection settings causing problems.
This commit is contained in:
parent
7409d0bc2f
commit
3b2876a6e4
3 changed files with 15 additions and 5 deletions
|
|
@ -11,6 +11,13 @@ public unsafe class CharacterUtility : IDisposable
|
|||
[Signature( "48 8B 0D ?? ?? ?? ?? E8 ?? ?? ?? 00 48 8D 8E ?? ?? 00 00 E8 ?? ?? ?? 00 33 D2", ScanType = ScanType.StaticAddress )]
|
||||
private readonly Structs.CharacterUtility** _characterUtilityAddress = null;
|
||||
|
||||
// Only required for migration anymore.
|
||||
[Signature( "E8 ?? ?? ?? 00 48 8D 8E ?? ?? 00 00 E8 ?? ?? ?? 00 33 D2" )]
|
||||
public readonly Action< IntPtr >? LoadCharacterResourcesFunc;
|
||||
|
||||
public void LoadCharacterResources()
|
||||
=> LoadCharacterResourcesFunc?.Invoke( ( IntPtr )_characterUtilityAddress );
|
||||
|
||||
public Structs.CharacterUtility* Address
|
||||
=> *_characterUtilityAddress;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue