少年修仙传客户端代码仓库
Client_PangDeRong
2019-01-23 7baf8e736645f59e3717814493d3de7e4082297b
Lua/Gen/DebugUtilityWrap.cs
@@ -21,7 +21,7 @@
        {
         ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         System.Type type = typeof(DebugUtility);
         Utils.BeginObjectRegister(type, L, translator, 0, 3, 4, 0);
         Utils.BeginObjectRegister(type, L, translator, 0, 3, 3, 1);
         
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateDebugRoot", _m_CreateDebugRoot);
@@ -29,11 +29,11 @@
         
         
         Utils.RegisterFunc(L, Utils.GETTER_IDX, "debugAccount", _g_get_debugAccount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "debugConfig", _g_get_debugConfig);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "debugBranch", _g_get_debugBranch);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isWhiteListAccount", _g_get_isWhiteListAccount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "debugBranch", _g_get_debugBranch);
            
         Utils.RegisterFunc(L, Utils.SETTER_IDX, "debugBranch", _s_set_debugBranch);
         
         Utils.EndObjectRegister(type, L, translator, null, null,
             null, null, null);
@@ -278,13 +278,13 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_debugConfig(RealStatePtr L)
        static int _g_get_isWhiteListAccount(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         
                DebugUtility gen_to_be_invoked = (DebugUtility)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.debugConfig);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isWhiteListAccount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
@@ -305,21 +305,22 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isWhiteListAccount(RealStatePtr L)
        static int _s_set_debugBranch(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         
                DebugUtility gen_to_be_invoked = (DebugUtility)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isWhiteListAccount);
                gen_to_be_invoked.debugBranch = LuaAPI.xlua_tointeger(L, 2);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
            return 0;
        }