#if USE_UNI_LUA
|
using LuaAPI = UniLua.Lua;
|
using RealStatePtr = UniLua.ILuaState;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
#else
|
using LuaAPI = XLua.LuaDLL.Lua;
|
using RealStatePtr = System.IntPtr;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
#endif
|
|
using XLua;
|
using System.Collections.Generic;
|
|
|
namespace XLua.CSObjectWrap
|
{
|
using Utils = XLua.Utils;
|
public class SnxxzUIDungeonAssistModelWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(Snxxz.UI.DungeonAssistModel);
|
Utils.BeginObjectRegister(type, L, translator, 0, 39, 19, 1);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetFreeRefresh", _m_TryGetFreeRefresh);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetRewardAdd", _m_TryGetRewardAdd);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetRemainAssistNum", _m_TryGetRemainAssistNum);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetCurVipAddRatio", _m_TryGetCurVipAddRatio);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetCurVipAddCoins", _m_TryGetCurVipAddCoins);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsMaxAssistCoinsAddByVip", _m_IsMaxAssistCoinsAddByVip);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsMaxAssistCoinsRatioAddByVip", _m_IsMaxAssistCoinsRatioAddByVip);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMaxVipPrivilegeEffectLv", _m_GetMaxVipPrivilegeEffectLv);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRelatedToPlayer", _m_GetRelatedToPlayer);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetNewAssistInfoNum", _m_GetNewAssistInfoNum);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAssistReward", _m_GetAssistReward);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHelpBattleConfig", _m_GetHelpBattleConfig);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetHelpInfoLocalSave", _m_SetHelpInfoLocalSave);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetAssistResult", _m_TryGetAssistResult);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetHelpInfoRead", _m_SetHelpInfoRead);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssistList", _m_UpdateAssistList);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByFightPower", _m_CompareByFightPower);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdataAssistPlayer", _m_UpdataAssistPlayer);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAssistPlayerInfo", _m_GetAssistPlayerInfo);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAssistPlayerInfos", _m_GetAssistPlayerInfos);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAlreadyAssistNum", _m_GetAlreadyAssistNum);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendAssistCheckIn", _m_SendAssistCheckIn);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPlayerAssist", _m_SendPlayerAssist);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendAssistRefresh", _m_SendAssistRefresh);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssistCheckInResult", _m_UpdateAssistCheckInResult);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssistResultNotify", _m_UpdateAssistResultNotify);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRedpoint", _m_SetRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateRedpoint", _m_UpdateRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateMainAssistRedpoint", _m_UpdateMainAssistRedpoint);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateResultEvent", _e_UpdateResultEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdataAssistPlayerListEvent", _e_UpdataAssistPlayerListEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdataAssistPlayerEvent", _e_UpdataAssistPlayerEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCheckInResultEvent", _e_UpdateCheckInResultEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateRedpointEvent", _e_UpdateRedpointEvent);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpInfoLocalSave", _g_get_helpInfoLocalSave);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpInfolist", _g_get_helpInfolist);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsCheckIn", _g_get_IsCheckIn);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsNewAssistInfo", _g_get_IsNewAssistInfo);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpBattleDict", _g_get_helpBattleDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "assistCoolTime", _g_get_assistCoolTime);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "goldAssistPlayer", _g_get_goldAssistPlayer);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "freeRefreshNum", _g_get_freeRefreshNum);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "goldRefreshNum", _g_get_goldRefreshNum);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "refreshCostMoney", _g_get_refreshCostMoney);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxXianYuanCoins", _g_get_maxXianYuanCoins);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "checkInTotalTime", _g_get_checkInTotalTime);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "assistRobotId", _g_get_assistRobotId);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "assistCoinsDict", _g_get_assistCoinsDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "assistRefreshNum", _g_get_assistRefreshNum);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsCheckInOk", _g_get_IsCheckInOk);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsRegisterToday", _g_get_IsRegisterToday);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "checkInRedpoint", _g_get_checkInRedpoint);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "main_AssistRedpoint", _g_get_main_AssistRedpoint);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "main_AssistRedpoint", _s_set_main_AssistRedpoint);
|
|
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
null, null, null);
|
|
Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0);
|
|
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AssistCheckInRedPoint", Snxxz.UI.DungeonAssistModel.AssistCheckInRedPoint);
|
|
|
|
|
Utils.EndClassRegister(type, L, translator);
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int __CreateInstance(RealStatePtr L)
|
{
|
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
if(LuaAPI.lua_gettop(L) == 1)
|
{
|
|
Snxxz.UI.DungeonAssistModel gen_ret = new Snxxz.UI.DungeonAssistModel();
|
translator.Push(L, gen_ret);
|
|
return 1;
|
}
|
|
}
|
catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Init(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Init( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_OnBeforePlayerDataInitialize(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.OnBeforePlayerDataInitialize( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_OnAfterPlayerDataInitialize(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.OnAfterPlayerDataInitialize( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_OnPlayerLoginOk(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.OnPlayerLoginOk( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UnInit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UnInit( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetFreeRefresh(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _remainNum;
|
|
bool gen_ret = gen_to_be_invoked.TryGetFreeRefresh( out _remainNum );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _remainNum);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetRewardAdd(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _addCoins;
|
|
bool gen_ret = gen_to_be_invoked.TryGetRewardAdd( out _addCoins );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _addCoins);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetRemainAssistNum(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _mapId = LuaAPI.xlua_tointeger(L, 2);
|
int _remainNum;
|
|
bool gen_ret = gen_to_be_invoked.TryGetRemainAssistNum( _mapId, out _remainNum );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _remainNum);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetCurVipAddRatio(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
string _addRatioStr;
|
|
bool gen_ret = gen_to_be_invoked.TryGetCurVipAddRatio( out _addRatioStr );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.lua_pushstring(L, _addRatioStr);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetCurVipAddCoins(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _addCoins;
|
|
bool gen_ret = gen_to_be_invoked.TryGetCurVipAddCoins( out _addCoins );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _addCoins);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_IsMaxAssistCoinsAddByVip(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _nextVipLv;
|
int _coins;
|
|
bool gen_ret = gen_to_be_invoked.IsMaxAssistCoinsAddByVip( out _nextVipLv, out _coins );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _nextVipLv);
|
|
LuaAPI.xlua_pushinteger(L, _coins);
|
|
|
|
|
return 3;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_IsMaxAssistCoinsRatioAddByVip(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _nextVipLv;
|
float _ratio;
|
|
bool gen_ret = gen_to_be_invoked.IsMaxAssistCoinsRatioAddByVip( out _nextVipLv, out _ratio );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _nextVipLv);
|
|
LuaAPI.lua_pushnumber(L, _ratio);
|
|
|
|
|
return 3;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetMaxVipPrivilegeEffectLv(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
VipPrivilegeType _type;translator.Get(L, 2, out _type);
|
|
int gen_ret = gen_to_be_invoked.GetMaxVipPrivilegeEffectLv( _type );
|
LuaAPI.xlua_pushinteger(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_GetRelatedToPlayer(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _playerId = LuaAPI.xlua_tointeger(L, 2);
|
|
Snxxz.UI.DungeonAssistModel.RelatedToPlayer gen_ret = gen_to_be_invoked.GetRelatedToPlayer( _playerId );
|
translator.Push(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_GetNewAssistInfoNum(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
int gen_ret = gen_to_be_invoked.GetNewAssistInfoNum( );
|
LuaAPI.xlua_pushinteger(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_GetAssistReward(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
bool _isSelf = LuaAPI.lua_toboolean(L, 3);
|
|
int gen_ret = gen_to_be_invoked.GetAssistReward( _type, _isSelf );
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
|
|
|
return 1;
|
}
|
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetAssistReward( _type );
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
|
|
|
return 1;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.GetAssistReward!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetHelpBattleConfig(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _mapId = LuaAPI.xlua_tointeger(L, 2);
|
int _lineId = LuaAPI.xlua_tointeger(L, 3);
|
|
DungeonHelpBattleConfig gen_ret = gen_to_be_invoked.GetHelpBattleConfig( _mapId, _lineId );
|
translator.Push(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_SetHelpInfoLocalSave(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
string _createDate = LuaAPI.lua_tostring(L, 2);
|
string _info = LuaAPI.lua_tostring(L, 3);
|
bool _isNew = LuaAPI.lua_toboolean(L, 4);
|
bool _isSelf = LuaAPI.lua_toboolean(L, 5);
|
|
gen_to_be_invoked.SetHelpInfoLocalSave( _createDate, _info, _isNew, _isSelf );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetAssistResult(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
string __info = LuaAPI.lua_tostring(L, 2);
|
string __date;
|
string __result;
|
bool __isNew;
|
bool __isSelf;
|
|
bool gen_ret = gen_to_be_invoked.TryGetAssistResult( __info, out __date, out __result, out __isNew, out __isSelf );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.lua_pushstring(L, __date);
|
|
LuaAPI.lua_pushstring(L, __result);
|
|
LuaAPI.lua_pushboolean(L, __isNew);
|
|
LuaAPI.lua_pushboolean(L, __isSelf);
|
|
|
|
|
return 5;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetHelpInfoRead(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetHelpInfoRead( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateAssistList(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HB207_tagMCHelpBattleList _battleList = (HB207_tagMCHelpBattleList)translator.GetObject(L, 2, typeof(HB207_tagMCHelpBattleList));
|
|
gen_to_be_invoked.UpdateAssistList( _battleList );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CompareByFightPower(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.DungeonAssistModel.AssistPlayerInfo _start = (Snxxz.UI.DungeonAssistModel.AssistPlayerInfo)translator.GetObject(L, 2, typeof(Snxxz.UI.DungeonAssistModel.AssistPlayerInfo));
|
Snxxz.UI.DungeonAssistModel.AssistPlayerInfo _end = (Snxxz.UI.DungeonAssistModel.AssistPlayerInfo)translator.GetObject(L, 3, typeof(Snxxz.UI.DungeonAssistModel.AssistPlayerInfo));
|
|
int gen_ret = gen_to_be_invoked.CompareByFightPower( _start, _end );
|
LuaAPI.xlua_pushinteger(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_UpdataAssistPlayer(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HB206_tagMCHelpBattleCallResult _callResult = (HB206_tagMCHelpBattleCallResult)translator.GetObject(L, 2, typeof(HB206_tagMCHelpBattleCallResult));
|
|
gen_to_be_invoked.UpdataAssistPlayer( _callResult );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetAssistPlayerInfo(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _playerId = LuaAPI.xlua_tointeger(L, 2);
|
|
Snxxz.UI.DungeonAssistModel.AssistPlayerInfo gen_ret = gen_to_be_invoked.GetAssistPlayerInfo( _playerId );
|
translator.Push(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_GetAssistPlayerInfos(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.List<Snxxz.UI.DungeonAssistModel.AssistPlayerInfo> gen_ret = gen_to_be_invoked.GetAssistPlayerInfos( );
|
translator.Push(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_GetAlreadyAssistNum(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
int gen_ret = gen_to_be_invoked.GetAlreadyAssistNum( );
|
LuaAPI.xlua_pushinteger(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_SendAssistCheckIn(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SendAssistCheckIn( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendPlayerAssist(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
|
{
|
int _isOneKey = LuaAPI.xlua_tointeger(L, 2);
|
int _playerId = LuaAPI.xlua_tointeger(L, 3);
|
int _isGold = LuaAPI.xlua_tointeger(L, 4);
|
|
gen_to_be_invoked.SendPlayerAssist( _isOneKey, _playerId, _isGold );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
|
{
|
int _isOneKey = LuaAPI.xlua_tointeger(L, 2);
|
int _playerId = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SendPlayerAssist( _isOneKey, _playerId );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
{
|
int _isOneKey = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.SendPlayerAssist( _isOneKey );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.SendPlayerAssist!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendAssistRefresh(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SendAssistRefresh( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateAssistCheckInResult(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HB205_tagMCHelpBattleCheckInResult _checkInResult = (HB205_tagMCHelpBattleCheckInResult)translator.GetObject(L, 2, typeof(HB205_tagMCHelpBattleCheckInResult));
|
|
gen_to_be_invoked.UpdateAssistCheckInResult( _checkInResult );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateAssistResultNotify(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 2&& translator.Assignable<HB211_tagMCHelpBattleRecordList>(L, 2))
|
{
|
HB211_tagMCHelpBattleRecordList _recordList = (HB211_tagMCHelpBattleRecordList)translator.GetObject(L, 2, typeof(HB211_tagMCHelpBattleRecordList));
|
|
gen_to_be_invoked.UpdateAssistResultNotify( _recordList );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 2&& translator.Assignable<HB208_tagMCAddXianyuanCoinMsg>(L, 2))
|
{
|
HB208_tagMCAddXianyuanCoinMsg _msg = (HB208_tagMCAddXianyuanCoinMsg)translator.GetObject(L, 2, typeof(HB208_tagMCAddXianyuanCoinMsg));
|
|
gen_to_be_invoked.UpdateAssistResultNotify( _msg );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.UpdateAssistResultNotify!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetRedpoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateRedpoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateMainAssistRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateMainAssistRedpoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_helpInfoLocalSave(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.helpInfoLocalSave);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_helpInfolist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.helpInfolist);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsCheckIn(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsCheckIn);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsNewAssistInfo(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsNewAssistInfo);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_helpBattleDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.helpBattleDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_assistCoolTime(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.assistCoolTime);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_goldAssistPlayer(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.goldAssistPlayer);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_freeRefreshNum(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.freeRefreshNum);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_goldRefreshNum(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.goldRefreshNum);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_refreshCostMoney(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.refreshCostMoney);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_maxXianYuanCoins(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.maxXianYuanCoins);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_checkInTotalTime(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.checkInTotalTime);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_assistRobotId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.assistRobotId);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_assistCoinsDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.assistCoinsDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_assistRefreshNum(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.assistRefreshNum);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsCheckInOk(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsCheckInOk);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsRegisterToday(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsRegisterToday);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_checkInRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.checkInRedpoint);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_main_AssistRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.main_AssistRedpoint);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_main_AssistRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.main_AssistRedpoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdateResultEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.UpdateResultEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdateResultEvent -= gen_delegate;
|
return 0;
|
}
|
|
}
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.UpdateResultEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdataAssistPlayerListEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.UpdataAssistPlayerListEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdataAssistPlayerListEvent -= gen_delegate;
|
return 0;
|
}
|
|
}
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.UpdataAssistPlayerListEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdataAssistPlayerEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
System.Action<int> gen_delegate = translator.GetDelegate<System.Action<int>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<int>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.UpdataAssistPlayerEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdataAssistPlayerEvent -= gen_delegate;
|
return 0;
|
}
|
|
}
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.UpdataAssistPlayerEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdateCheckInResultEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.UpdateCheckInResultEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdateCheckInResultEvent -= gen_delegate;
|
return 0;
|
}
|
|
}
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.UpdateCheckInResultEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdateRedpointEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1);
|
System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.UpdateRedpointEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdateRedpointEvent -= gen_delegate;
|
return 0;
|
}
|
|
}
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.UpdateRedpointEvent!");
|
return 0;
|
}
|
|
|
|
}
|
}
|