Exemplo n.º 1
0
 /// <summary>
 /// Calls the specified hook
 /// </summary>
 /// <param name="hook"></param>
 /// <param name="args"></param>
 /// <returns></returns>
 public static object CallHook(string hook, params object[] args) => Oxide?.CallHook(hook, args);
Exemplo n.º 2
0
 /// <summary>
 /// Calls the specified hook
 /// </summary>
 /// <param name="hookname"></param>
 /// <param name="args"></param>
 /// <returns></returns>
 public static object CallHook(string hookname, params object[] args)
 {
     // Call into Oxide core
     return(Oxide?.CallHook(hookname, args));
 }