少年修仙传客户端基础资源
client_Wu Xijin
2018-10-22 e998879b30f13f93ded8fc80f3a115616ca3cca7
Assets/XLua/Gen/LuaBehaviourWrap.cs
@@ -21,15 +21,13 @@
        {
         ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         System.Type type = typeof(LuaBehaviour);
         Utils.BeginObjectRegister(type, L, translator, 0, 0, 2, 2);
         Utils.BeginObjectRegister(type, L, translator, 0, 0, 1, 1);
         
         
         
         Utils.RegisterFunc(L, Utils.GETTER_IDX, "fileName", _g_get_fileName);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "injections", _g_get_injections);
            
         Utils.RegisterFunc(L, Utils.SETTER_IDX, "fileName", _s_set_fileName);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "injections", _s_set_injections);
            
         
         Utils.EndObjectRegister(type, L, translator, null, null,
@@ -92,20 +90,6 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_injections(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                LuaBehaviour gen_to_be_invoked = (LuaBehaviour)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.injections);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
@@ -116,21 +100,6 @@
         
                LuaBehaviour gen_to_be_invoked = (LuaBehaviour)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fileName = LuaAPI.lua_tostring(L, 2);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_injections(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                LuaBehaviour gen_to_be_invoked = (LuaBehaviour)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.injections = (Injection[])translator.GetObject(L, 2, typeof(Injection[]));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);