From dbceb10cd120b2121cb93b63d50d804bc6f02f16 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 26 二月 2019 11:23:34 +0800
Subject: [PATCH] Merge branch 'master' into ItemReconstruction

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

diff --git a/Lua/Gen/WeekPartyPointConfigWrap.cs b/Lua/Gen/WeekPartyPointConfigWrap.cs
index 610ce4b..b8929d7 100644
--- a/Lua/Gen/WeekPartyPointConfigWrap.cs
+++ b/Lua/Gen/WeekPartyPointConfigWrap.cs
@@ -21,7 +21,7 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(WeekPartyPointConfig);
-			Utils.BeginObjectRegister(type, L, translator, 0, 0, 4, 0);
+			Utils.BeginObjectRegister(type, L, translator, 0, 0, 5, 0);
 			
 			
 			
@@ -29,6 +29,7 @@
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "ImageType1", _g_get_ImageType1);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "ImageType2", _g_get_ImageType2);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Zoom", _g_get_Zoom);
             
 			
 			
@@ -332,6 +333,20 @@
             return 1;
         }
         
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_Zoom(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                WeekPartyPointConfig gen_to_be_invoked = (WeekPartyPointConfig)translator.FastGetCSObj(L, 1);
+                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.Zoom);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
         
         
 		

--
Gitblit v1.8.0