fix: comment out PartyListUpdate

This commit is contained in:
goat 2020-12-08 09:09:05 +01:00
parent 5acdab58af
commit d7c5489b8d
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ namespace Dalamud.Game.ClientState
// Functions
public IntPtr SetupTerritoryType { get; private set; }
//public IntPtr SomeActorTableAccess { get; private set; }
public IntPtr PartyListUpdate { get; private set; }
//public IntPtr PartyListUpdate { get; private set; }
public IntPtr ConditionFlags { get; private set; }
@ -33,7 +33,7 @@ namespace Dalamud.Game.ClientState
// This resolves to a fixed offset only, without the base address added in, so GetStaticAddressFromSig() can't be used
KeyboardState = sig.ScanText("48 8D 0C 85 ?? ?? ?? ?? 8B 04 31 85 C2 0F 85") + 0x4;
PartyListUpdate = sig.ScanText("E8 ?? ?? ?? ?? 49 8B D7 4C 8D 86 ?? ?? ?? ??");
//PartyListUpdate = sig.ScanText("E8 ?? ?? ?? ?? 49 8B D7 4C 8D 86 ?? ?? ?? ??");
ConditionFlags = sig.GetStaticAddressFromSig("48 8D 0D ?? ?? ?? ?? BA ?? ?? ?? ?? E8 ?? ?? ?? ?? B0 01 48 83 C4 30");

View file

@ -26,7 +26,7 @@ namespace Dalamud.Game.ClientState
{
Address = addressResolver;
this.dalamud = dalamud;
this.partyListUpdateHook = new Hook<PartyListUpdateDelegate>(Address.PartyListUpdate, new PartyListUpdateDelegate(PartyListUpdateDetour), this);
//this.partyListUpdateHook = new Hook<PartyListUpdateDelegate>(Address.PartyListUpdate, new PartyListUpdateDelegate(PartyListUpdateDetour), this);
}
public void Enable()