少年修仙传客户端代码仓库
Client_PangDeRong
2019-01-23 7baf8e736645f59e3717814493d3de7e4082297b
5930 子 【开发】【1.5.100】诛仙装备开发 / 【前端】【1.5.100】诛仙装备开发
2个文件已修改
23 ■■■■ 已修改文件
Lua/Gen/DebugUtilityWrap.cs 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DebugUtilityWrap.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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,10 +29,10 @@
            
            
            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,
@@ -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;
        }
        
        
        
Lua/Gen/DebugUtilityWrap.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 2e45bdc7ab1407847ac64c5843fb2d66
timeCreated: 1547610180
timeCreated: 1548252570
licenseType: Pro
MonoImporter:
  serializedVersion: 2