diff --git a/CommandHook/ModRegistration.cs b/CommandHook/ModRegistration.cs new file mode 100644 index 0000000..b17e59c --- /dev/null +++ b/CommandHook/ModRegistration.cs @@ -0,0 +1,13 @@ +using System.Collections.Generic; + +namespace CommandHook; + +public struct ModRegistration +{ + public readonly Dictionary Commands; + + public ModRegistration(Dictionary commands) + { + Commands = commands; + } +} diff --git a/CommandHook/WildcardModRegistration.cs b/CommandHook/WildcardModRegistration.cs new file mode 100644 index 0000000..e83bd79 --- /dev/null +++ b/CommandHook/WildcardModRegistration.cs @@ -0,0 +1,13 @@ +namespace CommandHook; + +public struct WildcardModRegistration +{ + public readonly CommandHookDelegate? Before; + public readonly CommandHookDelegate? After; + + public WildcardModRegistration(CommandHookDelegate? before, CommandHookDelegate? after) + { + Before = before; + After = after; + } +}