mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-13 12:14:18 +01:00
Move Viera Ears sig to gamedata.
This commit is contained in:
parent
ac6a726f57
commit
4472920536
2 changed files with 3 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
using Dalamud.Plugin.Services;
|
using Dalamud.Plugin.Services;
|
||||||
using FFXIVClientStructs.FFXIV.Client.Game.Character;
|
using FFXIVClientStructs.FFXIV.Client.Game.Character;
|
||||||
using Glamourer.Events;
|
using Glamourer.Events;
|
||||||
|
using Penumbra.GameData;
|
||||||
using Penumbra.GameData.Interop;
|
using Penumbra.GameData.Interop;
|
||||||
|
|
||||||
namespace Glamourer.Interop;
|
namespace Glamourer.Interop;
|
||||||
|
|
@ -69,7 +70,7 @@ public unsafe class VieraEarService : IDisposable
|
||||||
|
|
||||||
private unsafe Hook<UpdateVieraEarDelegateInternal> Create()
|
private unsafe Hook<UpdateVieraEarDelegateInternal> Create()
|
||||||
{
|
{
|
||||||
var hook = _interop.HookFromSignature<UpdateVieraEarDelegateInternal>("E8 ?? ?? ?? ?? 48 8D 8F ?? ?? ?? ?? 4C 8D 4C 24", SetupVieraEarDetour);
|
var hook = _interop.HookFromSignature<UpdateVieraEarDelegateInternal>(Sigs.SetupVieraEars, SetupVieraEarDetour);
|
||||||
hook.Enable();
|
hook.Enable();
|
||||||
return hook;
|
return hook;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 17f2f496664b0d69ebd7fcdabe7bc8e3e20b6463
|
Subproject commit 7981d2041bc49096101ab128682155dbe1fbc468
|
||||||
Loading…
Add table
Add a link
Reference in a new issue