From 3334c6a9c8eb8db00d4d8e64b9ec7a85efaddf18 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 29 一月 2019 14:09:56 +0800
Subject: [PATCH] 6086 【前端】【1.5.200】春节红包雨活动
---
Lua/Gen/SnxxzUIPackModelInterfaceWrap.cs | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
diff --git a/Lua/Gen/SnxxzUIPackModelInterfaceWrap.cs b/Lua/Gen/SnxxzUIPackModelInterfaceWrap.cs
index 4ffe14d..c298c44 100644
--- a/Lua/Gen/SnxxzUIPackModelInterfaceWrap.cs
+++ b/Lua/Gen/SnxxzUIPackModelInterfaceWrap.cs
@@ -21,7 +21,7 @@
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(Snxxz.UI.PackModelInterface);
- Utils.BeginObjectRegister(type, L, translator, 0, 37, 8, 3);
+ Utils.BeginObjectRegister(type, L, translator, 0, 38, 8, 3);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
@@ -31,6 +31,7 @@
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsCustomItem", _m_CheckIsCustomItem);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreciousItem", _m_GetPreciousItem);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckPreciousCondition", _m_CheckPreciousCondition);
+ Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSameJob", _m_IsSameJob);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnGetEquip", _m_OnGetEquip);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshPickItem", _m_RefreshPickItem);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckBetterEquipByRealm", _m_CheckBetterEquipByRealm);
@@ -375,6 +376,35 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_IsSameJob(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+ Snxxz.UI.PackModelInterface gen_to_be_invoked = (Snxxz.UI.PackModelInterface)translator.FastGetCSObj(L, 1);
+
+
+
+ {
+ int _jobLimit = LuaAPI.xlua_tointeger(L, 2);
+
+ bool gen_ret = gen_to_be_invoked.IsSameJob( _jobLimit );
+ LuaAPI.lua_pushboolean(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_OnGetEquip(RealStatePtr L)
{
try {
--
Gitblit v1.8.0