From 1be5ab55feedb550beff7a04a3a1d2cf6396d8d0 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期四, 25 四月 2019 16:37:33 +0800
Subject: [PATCH] 382 对话配置表字段修改

---
 Lua/Gen/DialogConfigWrap.cs |   17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/Lua/Gen/DialogConfigWrap.cs b/Lua/Gen/DialogConfigWrap.cs
index 167b843..75d6f7c 100644
--- a/Lua/Gen/DialogConfigWrap.cs
+++ b/Lua/Gen/DialogConfigWrap.cs
@@ -21,13 +21,12 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(DialogConfig);
-			Utils.BeginObjectRegister(type, L, translator, 0, 0, 7, 0);
+			Utils.BeginObjectRegister(type, L, translator, 0, 0, 6, 0);
 			
 			
 			
 			Utils.RegisterFunc(L, Utils.GETTER_IDX, "id", _g_get_id);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "npcId", _g_get_npcId);
-            Utils.RegisterFunc(L, Utils.GETTER_IDX, "icon", _g_get_icon);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "content", _g_get_content);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "nextID", _g_get_nextID);
@@ -301,20 +300,6 @@
 			
                 DialogConfig gen_to_be_invoked = (DialogConfig)translator.FastGetCSObj(L, 1);
                 LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.npcId);
-            } catch(System.Exception gen_e) {
-                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
-            }
-            return 1;
-        }
-        
-        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _g_get_icon(RealStatePtr L)
-        {
-		    try {
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-			
-                DialogConfig gen_to_be_invoked = (DialogConfig)translator.FastGetCSObj(L, 1);
-                LuaAPI.lua_pushstring(L, gen_to_be_invoked.icon);
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }

--
Gitblit v1.8.0