fix: set hooks enum to use bitfield values
This commit is contained in:
parent
738fb6d5ff
commit
fa3b0fc9c9
@ -11,24 +11,24 @@ namespace XivCommon {
|
|||||||
///
|
///
|
||||||
/// This flag is used to disable all hooking.
|
/// This flag is used to disable all hooking.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
None,
|
None = 0,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The BattleTalk hook.
|
/// The BattleTalk hook.
|
||||||
///
|
///
|
||||||
/// This hook is used in order to enable the BattleTalk events.
|
/// This hook is used in order to enable the BattleTalk events.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
BattleTalk,
|
BattleTalk = 1 << 1,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Hooks used for refreshing Party Finder listings.
|
/// Hooks used for refreshing Party Finder listings.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
PartyFinderListings,
|
PartyFinderListings = 1 << 2,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Hooks used for Party Finder join events.
|
/// Hooks used for Party Finder join events.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
PartyFinderJoins,
|
PartyFinderJoins = 1 << 3,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// All Party Finder hooks.
|
/// All Party Finder hooks.
|
||||||
@ -42,21 +42,21 @@ namespace XivCommon {
|
|||||||
///
|
///
|
||||||
/// This hook is used in order to enable the Talk events.
|
/// This hook is used in order to enable the Talk events.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Talk,
|
Talk = 1 << 4,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The chat bubbles hooks.
|
/// The chat bubbles hooks.
|
||||||
///
|
///
|
||||||
/// This hook is used in order to enable the chat bubbles events.
|
/// This hook is used in order to enable the chat bubbles events.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
ChatBubbles,
|
ChatBubbles = 1 << 5,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The context menu hooks.
|
/// The context menu hooks.
|
||||||
///
|
///
|
||||||
/// This hook is used in order to enable context menu functions.
|
/// This hook is used in order to enable context menu functions.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
ContextMenu,
|
ContextMenu = 1 << 6,
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static class HooksExt {
|
internal static class HooksExt {
|
||||||
|
Loading…
Reference in New Issue
Block a user