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/HazyRegionConfigWrap.cs |   32 +++++++++++++++++++++++++++++++-
 1 files changed, 31 insertions(+), 1 deletions(-)

diff --git a/Lua/Gen/HazyRegionConfigWrap.cs b/Lua/Gen/HazyRegionConfigWrap.cs
index f030706..29f75ff 100644
--- a/Lua/Gen/HazyRegionConfigWrap.cs
+++ b/Lua/Gen/HazyRegionConfigWrap.cs
@@ -21,7 +21,7 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(HazyRegionConfig);
-			Utils.BeginObjectRegister(type, L, translator, 0, 0, 12, 0);
+			Utils.BeginObjectRegister(type, L, translator, 0, 0, 13, 0);
 			
 			
 			
@@ -31,11 +31,13 @@
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "dungeonId", _g_get_dungeonId);
             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, "dungeonType", _g_get_dungeonType);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "point", _g_get_point);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "alchemyLevel", _g_get_alchemyLevel);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "reward", _g_get_reward);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "rewardState", _g_get_rewardState);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "PortraitID", _g_get_PortraitID);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "star", _g_get_star);
             
 			
 			
@@ -368,6 +370,20 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_dungeonType(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                HazyRegionConfig gen_to_be_invoked = (HazyRegionConfig)translator.FastGetCSObj(L, 1);
+                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.dungeonType);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_point(RealStatePtr L)
         {
 		    try {
@@ -437,6 +453,20 @@
             return 1;
         }
         
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_star(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                HazyRegionConfig gen_to_be_invoked = (HazyRegionConfig)translator.FastGetCSObj(L, 1);
+                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.star);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
         
         
 		

--
Gitblit v1.8.0