From 8d5671bc5b21f3f9150e0ae2f7f71c42bff557d1 Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期三, 28 十一月 2018 11:54:54 +0800
Subject: [PATCH] 4534 【1.3】【前端】组队功能和助战积分优化

---
 Lua/Gen/TimeUtilityWrap.cs |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/Lua/Gen/TimeUtilityWrap.cs b/Lua/Gen/TimeUtilityWrap.cs
index a87e599..e91ec71 100644
--- a/Lua/Gen/TimeUtilityWrap.cs
+++ b/Lua/Gen/TimeUtilityWrap.cs
@@ -31,7 +31,7 @@
 			Utils.EndObjectRegister(type, L, translator, null, null,
 			    null, null, null);
 
-		    Utils.BeginClassRegister(type, L, __CreateInstance, 18, 15, 1);
+		    Utils.BeginClassRegister(type, L, __CreateInstance, 18, 16, 1);
 			Utils.RegisterFunc(L, Utils.CLS_IDX, "OnRefreshCreateRoleTime", _m_OnRefreshCreateRoleTime_xlua_st_);
             Utils.RegisterFunc(L, Utils.CLS_IDX, "OnRefreshServerTime", _m_OnRefreshServerTime_xlua_st_);
             Utils.RegisterFunc(L, Utils.CLS_IDX, "OnRefreshServerOpenDay", _m_OnRefreshServerOpenDay_xlua_st_);
@@ -66,6 +66,7 @@
             Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "OpenWeekCnt", _g_get_OpenWeekCnt);
             Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "createRoleTime", _g_get_createRoleTime);
             Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "CreateDays", _g_get_CreateDays);
+            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "CreateSeconds", _g_get_CreateSeconds);
             Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "openServerDayOfWeek", _g_get_openServerDayOfWeek);
             
 			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "openServerDayOfWeek", _s_set_openServerDayOfWeek);
@@ -605,6 +606,18 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_CreateSeconds(RealStatePtr L)
+        {
+		    try {
+            
+			    LuaAPI.xlua_pushinteger(L, TimeUtility.CreateSeconds);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_openServerDayOfWeek(RealStatePtr L)
         {
 		    try {

--
Gitblit v1.8.0