protected override void OnStartAffer() { ActionFactory.SetActionIgnoreAuthorize(2001, 404); ScriptEngines.OnLoaded += ScriptProxy.Load; ScriptProxy.RegistMethodd(); InitNotice(); }
protected override void OnStartAffer() { ActionFactory.SetActionIgnoreAuthorize(100); //Lua script regist method ScriptEngines.OnLoaded += ScriptProxy.Load; ScriptProxy.RegistMethodd(); }
public static void RegistMethodd() { ScriptProxy proxy = new ScriptProxy(); ScriptEngines.LuaRegisterObject(proxy); }