From ac91135440bb13cc83625185e537d4d20365e48a Mon Sep 17 00:00:00 2001 From: Anna Clemens Date: Thu, 6 Jan 2022 16:18:03 -0500 Subject: [PATCH] style: run formatter --- ChatTwo/GameFunctions.cs | 4 ++-- ChatTwo/PayloadHandler.cs | 2 +- ChatTwo/Util/StringUtil.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChatTwo/GameFunctions.cs b/ChatTwo/GameFunctions.cs index bbb44d8..bc22efb 100755 --- a/ChatTwo/GameFunctions.cs +++ b/ChatTwo/GameFunctions.cs @@ -25,7 +25,7 @@ internal unsafe class GameFunctions : IDisposable { // Context menu internal const string CurrentChatEntryOffset = "8B 77 ?? 8D 46 01 89 47 14 81 FE ?? ?? ?? ?? 72 03 FF 47"; internal const string GetContentIdForChatEntry = "4C 8B 81 ?? ?? ?? ?? 4D 85 C0 74 17"; - + internal const string Indexer = "E8 ?? ?? ?? ?? 8B FD 8B CD"; internal const string InviteToParty = "E8 ?? ?? ?? ?? 33 C0 EB 51"; @@ -114,7 +114,7 @@ internal unsafe class GameFunctions : IDisposable { if (this.Plugin.SigScanner.TryScanText(Signatures.InviteToNoviceNetwork, out var nnPtr)) { this._inviteToNoviceNetwork = Marshal.GetDelegateForFunctionPointer(nnPtr); } - + this.Plugin.ClientState.Login += this.Login; this.Login(null, null); } diff --git a/ChatTwo/PayloadHandler.cs b/ChatTwo/PayloadHandler.cs index 59e63ed..c712fa4 100755 --- a/ChatTwo/PayloadHandler.cs +++ b/ChatTwo/PayloadHandler.cs @@ -231,7 +231,7 @@ internal sealed class PayloadHandler { if (ImGui.Selectable("Target") && this.FindCharacterForPayload(player) is { } obj) { this.Ui.Plugin.TargetManager.SetTarget(obj); } - + // Add to Blacklist 0x1C // View Party Finder 0x2E // Reply in Selected Chat Mode 0x64 diff --git a/ChatTwo/Util/StringUtil.cs b/ChatTwo/Util/StringUtil.cs index a400e98..a09f5b5 100755 --- a/ChatTwo/Util/StringUtil.cs +++ b/ChatTwo/Util/StringUtil.cs @@ -1,6 +1,6 @@ using System.Text; -namespace ChatTwo.Util; +namespace ChatTwo.Util; internal static class StringUtil { internal static byte[] ToTerminatedBytes(this string s) {