/** * Removes one usermessage hook. * * @param msg_id Message index. * @param hook Function used for the hook. * @param intercept Specifies whether the hook was an intercept hook or not. * @error Invalid message index. */ public static void UnhookUserMessage(UserMsg msg_id, MsgHook hook, bool intercept = false) { throw new NotImplementedException(); }
/** * Hooks a user message. * * @param msg_id Message index. * @param hook Function to use as a hook. * @param intercept If intercept is true, message will be fully intercepted, * allowing the user to block the message. Otherwise, * the hook is normal and ignores the return value. * @param post Notification function. * @error Invalid message index. */ public static void HookUserMessage(UserMsg msg_id, MsgHook hook, bool intercept = false, MsgPostHook post = INVALID_FUNCTION) { throw new NotImplementedException(); }