From 1f91e5df63dc91e3b77caeee3c820b8e52a02485 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期六, 25 五月 2019 16:19:45 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 Lua/Gen/MapEventPointConfigWrap.cs |   25 ++++++++++++++++++++++---
 1 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/Lua/Gen/MapEventPointConfigWrap.cs b/Lua/Gen/MapEventPointConfigWrap.cs
index 8f1196b..661181b 100644
--- a/Lua/Gen/MapEventPointConfigWrap.cs
+++ b/Lua/Gen/MapEventPointConfigWrap.cs
@@ -21,12 +21,13 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(MapEventPointConfig);
-			Utils.BeginObjectRegister(type, L, translator, 0, 0, 13, 0);
+			Utils.BeginObjectRegister(type, L, translator, 0, 0, 14, 0);
 			
 			
 			
 			Utils.RegisterFunc(L, Utils.GETTER_IDX, "Key", _g_get_Key);
-            Utils.RegisterFunc(L, Utils.GETTER_IDX, "MapID", _g_get_MapID);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "DataMapID", _g_get_DataMapID);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "LineId", _g_get_LineId);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "NPCID", _g_get_NPCID);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsShowInfo", _g_get_IsShowInfo);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "ShowInMipMap", _g_get_ShowInMipMap);
@@ -300,9 +301,27 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _g_get_MapID(RealStatePtr L)
+        static int _g_get_DataMapID(RealStatePtr L)
         {
 		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                MapEventPointConfig gen_to_be_invoked = (MapEventPointConfig)translator.FastGetCSObj(L, 1);
+                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.DataMapID);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_LineId(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                MapEventPointConfig gen_to_be_invoked = (MapEventPointConfig)translator.FastGetCSObj(L, 1);
+                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.LineId);
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }

--
Gitblit v1.8.0