From 23bc62c167a9d7cc2eff9118c14507247b02663d Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 23 一月 2019 22:05:30 +0800
Subject: [PATCH] 3335  添加xlua标签

---
 Lua/Gen/DebugUtilityWrap.cs |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/Lua/Gen/DebugUtilityWrap.cs b/Lua/Gen/DebugUtilityWrap.cs
index 8197577..ed89894 100644
--- a/Lua/Gen/DebugUtilityWrap.cs
+++ b/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, 3, 1);
+			Utils.BeginObjectRegister(type, L, translator, 0, 3, 4, 0);
 			
 			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, "isWhiteListAccount", _g_get_isWhiteListAccount);
+            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.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_isWhiteListAccount(RealStatePtr L)
+        static int _g_get_debugConfig(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);
+                translator.Push(L, gen_to_be_invoked.debugConfig);
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }
@@ -305,23 +305,22 @@
             return 1;
         }
         
-        
-        
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _s_set_debugBranch(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);
-                gen_to_be_invoked.debugBranch = LuaAPI.xlua_tointeger(L, 2);
-            
+                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isWhiteListAccount);
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }
-            return 0;
+            return 1;
         }
         
+        
+        
 		
 		
 		

--
Gitblit v1.8.0