using System; namespace XivCommon; /// /// Flags for which hooks to use /// [Flags] public enum Hooks { /// /// No hook. /// /// This flag is used to disable all hooking. /// None = 0, /// /// The Tooltips hooks. /// /// This hook is used in order to enable the tooltip events. /// Tooltips = 1 << 0, /// /// The BattleTalk hook. /// /// This hook is used in order to enable the BattleTalk events. /// BattleTalk = 1 << 1, /// /// Hooks used for refreshing Party Finder listings. /// PartyFinderListings = 1 << 2, /// /// Hooks used for Party Finder join events. /// PartyFinderJoins = 1 << 3, /// /// All Party Finder hooks. /// /// This hook is used in order to enable all Party Finder functions. /// PartyFinder = PartyFinderListings | PartyFinderJoins, /// /// The Talk hooks. /// /// This hook is used in order to enable the Talk events. /// Talk = 1 << 4, /// /// The chat bubbles hooks. /// /// This hook is used in order to enable the chat bubbles events. /// ChatBubbles = 1 << 5, // 1 << 6 used to be ContextMenu /// /// The name plate hooks. /// /// This hook is used in order to enable name plate functions. /// NamePlates = 1 << 7, } internal static class HooksExt { internal const Hooks DefaultHooks = Hooks.None; }