From 11971eedb6531fa41b33111e917d877e5aed7e1a Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期四, 21 二月 2019 11:18:22 +0800
Subject: [PATCH] Merge branch 'master' into TreasureRevise

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

diff --git a/Lua/Gen/LaunchPostProcessWrap.cs b/Lua/Gen/LaunchPostProcessWrap.cs
index eb34d1a..80d4208 100644
--- a/Lua/Gen/LaunchPostProcessWrap.cs
+++ b/Lua/Gen/LaunchPostProcessWrap.cs
@@ -21,13 +21,12 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(LaunchPostProcess);
-			Utils.BeginObjectRegister(type, L, translator, 0, 1, 2, 1);
+			Utils.BeginObjectRegister(type, L, translator, 0, 1, 1, 1);
 			
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Begin", _m_Begin);
 			
 			
 			Utils.RegisterFunc(L, Utils.GETTER_IDX, "completed", _g_get_completed);
-            Utils.RegisterFunc(L, Utils.GETTER_IDX, "progress", _g_get_progress);
             
 			Utils.RegisterFunc(L, Utils.SETTER_IDX, "completed", _s_set_completed);
             
@@ -113,20 +112,6 @@
 			
                 LaunchPostProcess gen_to_be_invoked = (LaunchPostProcess)translator.FastGetCSObj(L, 1);
                 LuaAPI.lua_pushboolean(L, gen_to_be_invoked.completed);
-            } catch(System.Exception gen_e) {
-                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
-            }
-            return 1;
-        }
-        
-        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _g_get_progress(RealStatePtr L)
-        {
-		    try {
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-			
-                LaunchPostProcess gen_to_be_invoked = (LaunchPostProcess)translator.FastGetCSObj(L, 1);
-                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.progress);
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }

--
Gitblit v1.8.0