style: run formatter

This commit is contained in:
Anna
2022-01-06 16:18:03 -05:00
parent a3431ea49a
commit 98874140bb
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ internal unsafe class GameFunctions : IDisposable {
// Context menu // Context menu
internal const string CurrentChatEntryOffset = "8B 77 ?? 8D 46 01 89 47 14 81 FE ?? ?? ?? ?? 72 03 FF 47"; 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 GetContentIdForChatEntry = "4C 8B 81 ?? ?? ?? ?? 4D 85 C0 74 17";
internal const string Indexer = "E8 ?? ?? ?? ?? 8B FD 8B CD"; internal const string Indexer = "E8 ?? ?? ?? ?? 8B FD 8B CD";
internal const string InviteToParty = "E8 ?? ?? ?? ?? 33 C0 EB 51"; 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)) { if (this.Plugin.SigScanner.TryScanText(Signatures.InviteToNoviceNetwork, out var nnPtr)) {
this._inviteToNoviceNetwork = Marshal.GetDelegateForFunctionPointer<InviteToNoviceNetworkDelegate>(nnPtr); this._inviteToNoviceNetwork = Marshal.GetDelegateForFunctionPointer<InviteToNoviceNetworkDelegate>(nnPtr);
} }
this.Plugin.ClientState.Login += this.Login; this.Plugin.ClientState.Login += this.Login;
this.Login(null, null); this.Login(null, null);
} }
+1 -1
View File
@@ -231,7 +231,7 @@ internal sealed class PayloadHandler {
if (ImGui.Selectable("Target") && this.FindCharacterForPayload(player) is { } obj) { if (ImGui.Selectable("Target") && this.FindCharacterForPayload(player) is { } obj) {
this.Ui.Plugin.TargetManager.SetTarget(obj); this.Ui.Plugin.TargetManager.SetTarget(obj);
} }
// Add to Blacklist 0x1C // Add to Blacklist 0x1C
// View Party Finder 0x2E // View Party Finder 0x2E
// Reply in Selected Chat Mode 0x64 // Reply in Selected Chat Mode 0x64
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Text; using System.Text;
namespace ChatTwo.Util; namespace ChatTwo.Util;
internal static class StringUtil { internal static class StringUtil {
internal static byte[] ToTerminatedBytes(this string s) { internal static byte[] ToTerminatedBytes(this string s) {