muffin v7.38.9
This commit is contained in:
parent
ada27cf05b
commit
8a7847ff37
21 changed files with 1296 additions and 689 deletions
|
|
@ -11,6 +11,7 @@ using Dalamud.Plugin.Services;
|
|||
using FFXIVClientStructs.FFXIV.Client.System.Framework;
|
||||
using FFXIVClientStructs.FFXIV.Client.System.Memory;
|
||||
using FFXIVClientStructs.FFXIV.Client.System.String;
|
||||
using FFXIVClientStructs.FFXIV.Client.UI;
|
||||
using Lumina.Excel.Sheets;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Questionable.Model.Questing;
|
||||
|
|
@ -21,11 +22,6 @@ internal sealed class ChatFunctions
|
|||
{
|
||||
private delegate void ProcessChatBoxDelegate(nint uiModule, nint message, nint unused, byte a4);
|
||||
|
||||
private static class Signatures
|
||||
{
|
||||
internal const string SendChat = "48 89 5C 24 ?? 48 89 74 24 ?? 57 48 83 EC 20 48 8B F2 48 8B F9 45 84 C9";
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
private readonly struct ChatPayload : IDisposable
|
||||
{
|
||||
|
|
@ -72,7 +68,7 @@ internal sealed class ChatFunctions
|
|||
_gameFunctions = gameFunctions;
|
||||
_targetManager = targetManager;
|
||||
_logger = logger;
|
||||
_processChatBox = Marshal.GetDelegateForFunctionPointer<ProcessChatBoxDelegate>(sigScanner.ScanText("48 89 5C 24 ?? 48 89 74 24 ?? 57 48 83 EC 20 48 8B F2 48 8B F9 45 84 C9"));
|
||||
_processChatBox = Marshal.GetDelegateForFunctionPointer<ProcessChatBoxDelegate>(UIModule.Addresses.ProcessChatBoxEntry.Value);
|
||||
_emoteCommands = (from x in dataManager.GetExcelSheet<Emote>()
|
||||
where x.RowId != 0
|
||||
where x.TextCommand.IsValid
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ using Dalamud.Plugin.Services;
|
|||
using FFXIVClientStructs.FFXIV.Client.Game;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.Character;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.Control;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.Event;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.Fate;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.Object;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.UI;
|
||||
|
|
@ -34,11 +35,6 @@ internal sealed class GameFunctions
|
|||
{
|
||||
private delegate void AbandonDutyDelegate(bool a1);
|
||||
|
||||
private static class Signatures
|
||||
{
|
||||
internal const string AbandonDuty = "E8 ?? ?? ?? ?? 41 B2 01 EB 39";
|
||||
}
|
||||
|
||||
private readonly QuestFunctions _questFunctions;
|
||||
|
||||
private readonly IDataManager _dataManager;
|
||||
|
|
@ -74,7 +70,7 @@ internal sealed class GameFunctions
|
|||
_gameGui = gameGui;
|
||||
_configuration = configuration;
|
||||
_logger = logger;
|
||||
_abandonDuty = Marshal.GetDelegateForFunctionPointer<AbandonDutyDelegate>(sigScanner.ScanText("E8 ?? ?? ?? ?? 41 B2 01 EB 39"));
|
||||
_abandonDuty = Marshal.GetDelegateForFunctionPointer<AbandonDutyDelegate>(EventFramework.Addresses.LeaveCurrentContent.Value);
|
||||
_territoryToAetherCurrentCompFlgSet = (from x in dataManager.GetExcelSheet<TerritoryType>()
|
||||
where x.RowId != 0
|
||||
where x.AetherCurrentCompFlgSet.RowId != 0
|
||||
|
|
|
|||
5
Questionable/Questionable.Functions/GameSignatures.cs
Normal file
5
Questionable/Questionable.Functions/GameSignatures.cs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
namespace Questionable.Functions;
|
||||
|
||||
internal static class GameSignatures
|
||||
{
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue