From cd4e26da0a2347a79aa18f4c77a5df9b103abfa6 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期五, 23 十一月 2018 10:30:24 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
Lua/Gen/SnxxzUISignInModelWrap.cs | 80 ++++++++++++---------------------------
1 files changed, 25 insertions(+), 55 deletions(-)
diff --git a/Lua/Gen/SnxxzUISignInModelWrap.cs b/Lua/Gen/SnxxzUISignInModelWrap.cs
index 4879640..d3dee69 100644
--- a/Lua/Gen/SnxxzUISignInModelWrap.cs
+++ b/Lua/Gen/SnxxzUISignInModelWrap.cs
@@ -21,7 +21,7 @@
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(Snxxz.UI.SignInModel);
- Utils.BeginObjectRegister(type, L, translator, 0, 5, 10, 2);
+ Utils.BeginObjectRegister(type, L, translator, 0, 5, 8, 2);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshData", _m_OnRefreshData);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
@@ -30,19 +30,17 @@
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnSignRefresh", _e_OnSignRefresh);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "signAwardList", _g_get_signAwardList);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "cntSignList", _g_get_cntSignList);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "ctnSignJade", _g_get_ctnSignJade);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "signNum", _g_get_signNum);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "surSignNum", _g_get_surSignNum);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "todaySign", _g_get_todaySign);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "isFirst", _g_get_isFirst);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "SumSignNum", _g_get_SumSignNum);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "keepSignInCost", _g_get_keepSignInCost);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "alreadySignInCount", _g_get_alreadySignInCount);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "keepSignInCount", _g_get_keepSignInCount);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "todaySignIn", _g_get_todaySignIn);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsFirstMonth", _g_get_IsFirstMonth);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "totalSignInCount", _g_get_totalSignInCount);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpoint", _g_get_redpoint);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_ContinueJobItems", _g_get_m_ContinueJobItems);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_KeepSignInItemDict", _g_get_m_KeepSignInItemDict);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpoint", _s_set_redpoint);
- Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_ContinueJobItems", _s_set_m_ContinueJobItems);
+ Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_KeepSignInItemDict", _s_set_m_KeepSignInItemDict);
Utils.EndObjectRegister(type, L, translator, null, null,
@@ -201,13 +199,13 @@
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_signAwardList(RealStatePtr L)
+ static int _g_get_keepSignInCost(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.signAwardList);
+ LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.keepSignInCost);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
@@ -215,13 +213,13 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_cntSignList(RealStatePtr L)
+ static int _g_get_alreadySignInCount(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.cntSignList);
+ LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.alreadySignInCount);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
@@ -229,13 +227,13 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_ctnSignJade(RealStatePtr L)
+ static int _g_get_keepSignInCount(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ctnSignJade);
+ LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.keepSignInCount);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
@@ -243,13 +241,13 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_signNum(RealStatePtr L)
+ static int _g_get_todaySignIn(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.signNum);
+ LuaAPI.lua_pushboolean(L, gen_to_be_invoked.todaySignIn);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
@@ -257,13 +255,13 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_surSignNum(RealStatePtr L)
+ static int _g_get_IsFirstMonth(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.surSignNum);
+ LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsFirstMonth);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
@@ -271,41 +269,13 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_todaySign(RealStatePtr L)
+ static int _g_get_totalSignInCount(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- LuaAPI.lua_pushboolean(L, gen_to_be_invoked.todaySign);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_isFirst(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isFirst);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_SumSignNum(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SumSignNum);
+ LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.totalSignInCount);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
@@ -327,13 +297,13 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_m_ContinueJobItems(RealStatePtr L)
+ static int _g_get_m_KeepSignInItemDict(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.m_ContinueJobItems);
+ translator.Push(L, gen_to_be_invoked.m_KeepSignInItemDict);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
@@ -358,13 +328,13 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _s_set_m_ContinueJobItems(RealStatePtr L)
+ static int _s_set_m_KeepSignInItemDict(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1);
- gen_to_be_invoked.m_ContinueJobItems = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>));
+ gen_to_be_invoked.m_KeepSignInItemDict = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
--
Gitblit v1.8.0