/// <summary> /// Calls a hook /// </summary> /// <param name="hookname"></param> /// <param name="args"></param> /// <returns></returns> public object CallHook(string hookname, params object[] args) { if (RootPluginManager == null) { return(null); } return(RootPluginManager.CallHook(hookname, args)); }
/// <summary> /// Calls a hook /// </summary> /// <param name="hookname"></param> /// <param name="args"></param> /// <returns></returns> public object CallHook(string hookname, params object[] args) => RootPluginManager?.CallHook(hookname, args);