Exemple #1
0
 protected override void OnStartAffer()
 {
     ActionFactory.SetActionIgnoreAuthorize(2001, 404);
     ScriptEngines.OnLoaded += ScriptProxy.Load;
     ScriptProxy.RegistMethodd();
     InitNotice();
 }
Exemple #2
0
        protected override void OnStartAffer()
        {
            ActionFactory.SetActionIgnoreAuthorize(100);

            //Lua script regist method
            ScriptEngines.OnLoaded += ScriptProxy.Load;
            ScriptProxy.RegistMethodd();
        }
Exemple #3
0
        public static void RegistMethodd()
        {
            ScriptProxy proxy = new ScriptProxy();

            ScriptEngines.LuaRegisterObject(proxy);
        }
Exemple #4
0
 public static void RegistMethodd()
 {
     ScriptProxy proxy = new ScriptProxy();
     ScriptEngines.LuaRegisterObject(proxy);
 }