From fa3b0fc9c9e08df14f6c5cf1f0ba5c5bd2d7ea3e Mon Sep 17 00:00:00 2001 From: Anna Clemens Date: Fri, 21 May 2021 21:16:45 -0400 Subject: [PATCH] fix: set hooks enum to use bitfield values --- XivCommon/Hooks.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/XivCommon/Hooks.cs b/XivCommon/Hooks.cs index c4ad8f2..8ea2915 100755 --- a/XivCommon/Hooks.cs +++ b/XivCommon/Hooks.cs @@ -11,24 +11,24 @@ namespace XivCommon { /// /// This flag is used to disable all hooking. /// - None, + None = 0, /// /// The BattleTalk hook. /// /// This hook is used in order to enable the BattleTalk events. /// - BattleTalk, + BattleTalk = 1 << 1, /// /// Hooks used for refreshing Party Finder listings. /// - PartyFinderListings, + PartyFinderListings = 1 << 2, /// /// Hooks used for Party Finder join events. /// - PartyFinderJoins, + PartyFinderJoins = 1 << 3, /// /// All Party Finder hooks. @@ -42,21 +42,21 @@ namespace XivCommon { /// /// This hook is used in order to enable the Talk events. /// - Talk, + Talk = 1 << 4, /// /// The chat bubbles hooks. /// /// This hook is used in order to enable the chat bubbles events. /// - ChatBubbles, + ChatBubbles = 1 << 5, /// /// The context menu hooks. /// /// This hook is used in order to enable context menu functions. /// - ContextMenu, + ContextMenu = 1 << 6, } internal static class HooksExt {