#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 SnxxzUIDungeonModelWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(Snxxz.UI.DungeonModel);
|
Utils.BeginObjectRegister(type, L, translator, 0, 66, 15, 10);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetOpenTime", _m_TryGetOpenTime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetCountRemainTime", _m_TryGetCountRemainTime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetGrade", _m_GetGrade);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetRecord", _m_TryGetRecord);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEnterTimes", _m_GetEnterTimes);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTotalTimes", _m_GetTotalTimes);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBoughtTimes", _m_GetBoughtTimes);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBuyTimesLimit", _m_GetBuyTimesLimit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTicketCost", _m_GetTicketCost);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetBuyCountCost", _m_TryGetBuyCountCost);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRewardRateWithGrade", _m_GetRewardRateWithGrade);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSweepCost", _m_GetSweepCost);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RequestSweep", _m_RequestSweep);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TestChallange", _m_TestChallange);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ChallengeNextDungeonLevel", _m_ChallengeNextDungeonLevel);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SingleChallenge", _m_SingleChallenge);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GroupChallenge", _m_GroupChallenge);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ExitCurrentDungeon", _m_ExitCurrentDungeon);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetBufData", _m_ResetBufData);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateRecords", _m_UpdateRecords);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEnterCD", _m_GetEnterCD);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "HasEnterCD", _m_HasEnterCD);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsEnterCountDowning", _m_IsEnterCountDowning);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateEnterCD", _m_UpdateEnterCD);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateInspireLevel", _m_UpdateInspireLevel);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RequestClearEnterCD", _m_RequestClearEnterCD);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RequestBuyEnterCount", _m_RequestBuyEnterCount);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCoolDown", _m_UpdateCoolDown);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCountRemaintime", _m_UpdateCountRemaintime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCoolDownEndTime", _m_GetCoolDownEndTime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateMission", _m_UpdateMission);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFakeDungeonMission", _m_UpdateFakeDungeonMission);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ProcessResult", _m_ProcessResult);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDungeonHintId", _m_GetDungeonHintId);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDungeonId", _m_GetDungeonId);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDungeonIds", _m_GetDungeonIds);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDugeonLines", _m_GetDugeonLines);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTrialMaps", _m_GetTrialMaps);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDataMapIdByMapId", _m_GetDataMapIdByMapId);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTargets", _m_GetTargets);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RequestChallangeDungeon", _m_RequestChallangeDungeon);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBelongToLine", _m_GetBelongToLine);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDungeonInspire", _m_GetDungeonInspire);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDungeonInspireLevel", _m_GetDungeonInspireLevel);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDungeonInspireCost", _m_GetDungeonInspireCost);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDungeonInspireUpper", _m_GetDungeonInspireUpper);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetInspireMaxCount", _m_GetInspireMaxCount);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetLackItem", _m_GetLackItem);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsElderGodExpel", _m_IsElderGodExpel);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "dungeonCoolDownEvent", _e_dungeonCoolDownEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "dungeonBeginCoolDownEndEvent", _e_dungeonBeginCoolDownEndEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "updateMissionEvent", _e_updateMissionEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "dungeonStageChangeEvent", _e_dungeonStageChangeEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "getDungeonResultEvent", _e_getDungeonResultEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "updateDungeonEnterCD", _e_updateDungeonEnterCD);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "updateDungeonBuyCnt", _e_updateDungeonBuyCnt);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "dungeonFairyLandChangeEvent", _e_dungeonFairyLandChangeEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "dungeonInspireLvEvent", _e_dungeonInspireLvEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "dungeonRecordChangeEvent", _e_dungeonRecordChangeEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "countRemainTimeChangeEvent", _e_countRemainTimeChangeEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "kylinDifficultySelectedEvent", _e_kylinDifficultySelectedEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "dungeonFightStageChangeEevent", _e_dungeonFightStageChangeEevent);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "sweepDungeonTypeBuf", _g_get_sweepDungeonTypeBuf);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectedTrialDungeon", _g_get_selectedTrialDungeon);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "currentDungeon", _g_get_currentDungeon);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dungeonGrade", _g_get_dungeonGrade);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "mission", _g_get_mission);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dungeonResult", _g_get_dungeonResult);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectedKylinDungeon", _g_get_selectedKylinDungeon);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardSkyBuffIds", _g_get_guardSkyBuffIds);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardSkyGuardNpcs", _g_get_guardSkyGuardNpcs);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "inspireNoRemind", _g_get_inspireNoRemind);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "inspireRemindEffective", _g_get_inspireRemindEffective);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dungeonFightStage", _g_get_dungeonFightStage);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "specialItemCollectRecord", _g_get_specialItemCollectRecord);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cacheGradeMap", _g_get_cacheGradeMap);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "gradeTween", _g_get_gradeTween);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectedTrialDungeon", _s_set_selectedTrialDungeon);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "currentDungeon", _s_set_currentDungeon);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "dungeonResult", _s_set_dungeonResult);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectedKylinDungeon", _s_set_selectedKylinDungeon);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "inspireNoRemind", _s_set_inspireNoRemind);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "inspireRemindEffective", _s_set_inspireRemindEffective);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "dungeonFightStage", _s_set_dungeonFightStage);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "specialItemCollectRecord", _s_set_specialItemCollectRecord);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cacheGradeMap", _s_set_cacheGradeMap);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "gradeTween", _s_set_gradeTween);
|
|
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
null, null, null);
|
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
|
|
|
|
|
|
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.DungeonModel gen_ret = new Snxxz.UI.DungeonModel();
|
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.DungeonModel constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Init(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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_UnInit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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_OnBeforePlayerDataInitialize(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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_TryGetOpenTime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapId = LuaAPI.xlua_tointeger(L, 2);
|
DailyQuestOpenTime __openTime;
|
|
bool gen_ret = gen_to_be_invoked.TryGetOpenTime( __mapId, out __openTime );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
translator.Push(L, __openTime);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetCountRemainTime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
System.DateTime __remainTime;
|
|
bool gen_ret = gen_to_be_invoked.TryGetCountRemainTime( __dataMapId, out __remainTime );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
translator.Push(L, __remainTime);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetGrade(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.Dungeon __dungeon;translator.Get(L, 2, out __dungeon);
|
|
int gen_ret = gen_to_be_invoked.GetGrade( __dungeon );
|
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_TryGetRecord(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapId = LuaAPI.xlua_tointeger(L, 2);
|
Snxxz.UI.DungeonRecord __record;
|
|
bool gen_ret = gen_to_be_invoked.TryGetRecord( __mapId, out __record );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
translator.Push(L, __record);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetEnterTimes(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetEnterTimes( __dataMapId );
|
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_GetTotalTimes(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetTotalTimes( __dataMapId );
|
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_GetBoughtTimes(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetBoughtTimes( __dataMapId );
|
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_GetBuyTimesLimit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetBuyTimesLimit( __dataMapId );
|
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_GetTicketCost(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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_TNUMBER == LuaAPI.lua_type(L, 3))
|
{
|
int __mapId = LuaAPI.xlua_tointeger(L, 2);
|
int __lineId = LuaAPI.xlua_tointeger(L, 3);
|
|
Snxxz.UI.Item gen_ret = gen_to_be_invoked.GetTicketCost( __mapId, __lineId );
|
translator.Push(L, gen_ret);
|
|
|
|
return 1;
|
}
|
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
{
|
int __mapId = LuaAPI.xlua_tointeger(L, 2);
|
|
Snxxz.UI.Item gen_ret = gen_to_be_invoked.GetTicketCost( __mapId );
|
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.DungeonModel.GetTicketCost!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetBuyCountCost(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapId = LuaAPI.xlua_tointeger(L, 2);
|
string __formula;
|
|
bool gen_ret = gen_to_be_invoked.TryGetBuyCountCost( __mapId, out __formula );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.lua_pushstring(L, __formula);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetRewardRateWithGrade(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapId = LuaAPI.xlua_tointeger(L, 2);
|
int __grade = LuaAPI.xlua_tointeger(L, 3);
|
int _rate;
|
|
bool gen_ret = gen_to_be_invoked.GetRewardRateWithGrade( __mapId, __grade, out _rate );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _rate);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetSweepCost(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.Dungeon __dungeon;translator.Get(L, 2, out __dungeon);
|
|
Snxxz.UI.Item gen_ret = gen_to_be_invoked.GetSweepCost( __dungeon );
|
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_RequestSweep(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.Dungeon __dungeon;translator.Get(L, 2, out __dungeon);
|
|
gen_to_be_invoked.RequestSweep( __dungeon );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TestChallange(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.Dungeon __dungeon;translator.Get(L, 2, out __dungeon);
|
int __error;
|
|
bool gen_ret = gen_to_be_invoked.TestChallange( __dungeon, out __error );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, __error);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ChallengeNextDungeonLevel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ChallengeNextDungeonLevel( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SingleChallenge(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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_TNUMBER == LuaAPI.lua_type(L, 3))
|
{
|
int __dungeonId = LuaAPI.xlua_tointeger(L, 2);
|
int __lineId = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SingleChallenge( __dungeonId, __lineId );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
{
|
int __dungeonId = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.SingleChallenge( __dungeonId );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 2&& translator.Assignable<Snxxz.UI.Dungeon>(L, 2))
|
{
|
Snxxz.UI.Dungeon __dungeon;translator.Get(L, 2, out __dungeon);
|
|
gen_to_be_invoked.SingleChallenge( __dungeon );
|
|
|
|
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.DungeonModel.SingleChallenge!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GroupChallenge(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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_TNUMBER == LuaAPI.lua_type(L, 3))
|
{
|
int __dungeonId = LuaAPI.xlua_tointeger(L, 2);
|
int __lineId = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.GroupChallenge( __dungeonId, __lineId );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
{
|
int __dungeonId = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.GroupChallenge( __dungeonId );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 2&& translator.Assignable<Snxxz.UI.Dungeon>(L, 2))
|
{
|
Snxxz.UI.Dungeon __dungeon;translator.Get(L, 2, out __dungeon);
|
|
gen_to_be_invoked.GroupChallenge( __dungeon );
|
|
|
|
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.DungeonModel.GroupChallenge!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ExitCurrentDungeon(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ExitCurrentDungeon( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ResetBufData(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ResetBufData( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateRecords(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 2&& translator.Assignable<HA320_tagMCPlayerFBInfoData.tagMCFBInfo[]>(L, 2))
|
{
|
HA320_tagMCPlayerFBInfoData.tagMCFBInfo[] __serverInfos = (HA320_tagMCPlayerFBInfoData.tagMCFBInfo[])translator.GetObject(L, 2, typeof(HA320_tagMCPlayerFBInfoData.tagMCFBInfo[]));
|
|
gen_to_be_invoked.UpdateRecords( __serverInfos );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 2&& translator.Assignable<HA3BD_tagMCBuyEnterInfo.tagMCBuyInfo[]>(L, 2))
|
{
|
HA3BD_tagMCBuyEnterInfo.tagMCBuyInfo[] _vNetDatas = (HA3BD_tagMCBuyEnterInfo.tagMCBuyInfo[])translator.GetObject(L, 2, typeof(HA3BD_tagMCBuyEnterInfo.tagMCBuyInfo[]));
|
|
gen_to_be_invoked.UpdateRecords( _vNetDatas );
|
|
|
|
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.DungeonModel.UpdateRecords!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetEnterCD(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapID = LuaAPI.xlua_tointeger(L, 2);
|
|
Snxxz.UI.DungeonEnterCD gen_ret = gen_to_be_invoked.GetEnterCD( __mapID );
|
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_HasEnterCD(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapID = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.HasEnterCD( __mapID );
|
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_IsEnterCountDowning(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapID = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.IsEnterCountDowning( __mapID );
|
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_UpdateEnterCD(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA703_tagMCFBEnterTickList.tagMCFBEnterTick[] _vNetDatas = (HA703_tagMCFBEnterTickList.tagMCFBEnterTick[])translator.GetObject(L, 2, typeof(HA703_tagMCFBEnterTickList.tagMCFBEnterTick[]));
|
|
gen_to_be_invoked.UpdateEnterCD( _vNetDatas );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateInspireLevel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
int _count = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.UpdateInspireLevel( _type, _count );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RequestClearEnterCD(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapID = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.RequestClearEnterCD( __mapID );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RequestBuyEnterCount(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapID = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.RequestBuyEnterCount( __mapID );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateCoolDown(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
DungeonCoolDownType __type;translator.Get(L, 2, out __type);
|
uint __millisecond = LuaAPI.xlua_touint(L, 3);
|
|
gen_to_be_invoked.UpdateCoolDown( __type, __millisecond );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateCountRemaintime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HB209_tagMCFBCntRegainRemainTime __serverTimes = (HB209_tagMCFBCntRegainRemainTime)translator.GetObject(L, 2, typeof(HB209_tagMCFBCntRegainRemainTime));
|
|
gen_to_be_invoked.UpdateCountRemaintime( __serverTimes );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetCoolDownEndTime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
DungeonCoolDownType __type;translator.Get(L, 2, out __type);
|
|
System.DateTime gen_ret = gen_to_be_invoked.GetCoolDownEndTime( __type );
|
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_UpdateMission(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
string __mission = LuaAPI.lua_tostring(L, 2);
|
|
gen_to_be_invoked.UpdateMission( __mission );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateFakeDungeonMission(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
Snxxz.UI.DungeonMissionData __missionData;translator.Get(L, 3, out __missionData);
|
|
gen_to_be_invoked.UpdateFakeDungeonMission( __dataMapId, __missionData );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ProcessResult(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
string __msg = LuaAPI.lua_tostring(L, 2);
|
|
gen_to_be_invoked.ProcessResult( __msg );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetDungeonHintId(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
int __lineId = LuaAPI.xlua_tointeger(L, 3);
|
|
int gen_ret = gen_to_be_invoked.GetDungeonHintId( __dataMapId, __lineId );
|
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_GetDungeonId(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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_TNUMBER == LuaAPI.lua_type(L, 3))
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
int __lineId = LuaAPI.xlua_tointeger(L, 3);
|
|
int gen_ret = gen_to_be_invoked.GetDungeonId( __dataMapId, __lineId );
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
|
|
|
return 1;
|
}
|
if(gen_param_count == 2&& translator.Assignable<Snxxz.UI.Dungeon>(L, 2))
|
{
|
Snxxz.UI.Dungeon __dungeon;translator.Get(L, 2, out __dungeon);
|
|
int gen_ret = gen_to_be_invoked.GetDungeonId( __dungeon );
|
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.DungeonModel.GetDungeonId!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetDungeonIds(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapId = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetDungeonIds( __mapId );
|
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_GetDugeonLines(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetDugeonLines( __dataMapId );
|
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_GetTrialMaps(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetTrialMaps( );
|
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_GetDataMapIdByMapId(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __mapId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetDataMapIdByMapId( __mapId );
|
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_GetTargets(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
int __lineId = LuaAPI.xlua_tointeger(L, 3);
|
int __step = LuaAPI.xlua_tointeger(L, 4);
|
|
System.Collections.Generic.List<Snxxz.UI.DungeonTarget> gen_ret = gen_to_be_invoked.GetTargets( __dataMapId, __lineId, __step );
|
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_RequestChallangeDungeon(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
int __lineId = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.RequestChallangeDungeon( __dataMapId, __lineId );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetBelongToLine(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dailyQuestId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetBelongToLine( __dailyQuestId );
|
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_GetDungeonInspire(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.List<TableConfig.DungeonInspireConfig> gen_ret = gen_to_be_invoked.GetDungeonInspire( __dataMapId );
|
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_GetDungeonInspireLevel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
{
|
int _moneyType = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetDungeonInspireLevel( _moneyType );
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
|
|
|
return 1;
|
}
|
if(gen_param_count == 1)
|
{
|
|
int gen_ret = gen_to_be_invoked.GetDungeonInspireLevel( );
|
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.DungeonModel.GetDungeonInspireLevel!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetDungeonInspireCost(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.DungeonInspireConfig _config = (TableConfig.DungeonInspireConfig)translator.GetObject(L, 2, typeof(TableConfig.DungeonInspireConfig));
|
|
int gen_ret = gen_to_be_invoked.GetDungeonInspireCost( _config );
|
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_GetDungeonInspireUpper(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _mapId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetDungeonInspireUpper( _mapId );
|
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_GetInspireMaxCount(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dataMapId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetInspireMaxCount( __dataMapId );
|
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_GetLackItem(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.DungeonSuppliesLackWin.LackType _lackType;translator.Get(L, 2, out _lackType);
|
|
Snxxz.UI.Item gen_ret = gen_to_be_invoked.GetLackItem( _lackType );
|
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_IsElderGodExpel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
bool gen_ret = gen_to_be_invoked.IsElderGodExpel( );
|
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 _g_get_sweepDungeonTypeBuf(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.sweepDungeonTypeBuf);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_selectedTrialDungeon(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.selectedTrialDungeon);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_currentDungeon(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.currentDungeon);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_dungeonGrade(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.dungeonGrade);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_mission(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.mission);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_dungeonResult(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.dungeonResult);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_selectedKylinDungeon(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.selectedKylinDungeon);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_guardSkyBuffIds(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.guardSkyBuffIds);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_guardSkyGuardNpcs(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.guardSkyGuardNpcs);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_inspireNoRemind(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.inspireNoRemind);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_inspireRemindEffective(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.inspireRemindEffective);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_dungeonFightStage(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.dungeonFightStage);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_specialItemCollectRecord(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.specialItemCollectRecord);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_cacheGradeMap(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cacheGradeMap);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_gradeTween(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.gradeTween);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_selectedTrialDungeon(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
Snxxz.UI.Dungeon gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.selectedTrialDungeon = gen_value;
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_currentDungeon(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
Snxxz.UI.Dungeon gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.currentDungeon = gen_value;
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_dungeonResult(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
Snxxz.UI.DungeonResult gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.dungeonResult = gen_value;
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_selectedKylinDungeon(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
Snxxz.UI.Dungeon gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.selectedKylinDungeon = gen_value;
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_inspireNoRemind(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.inspireNoRemind = LuaAPI.lua_toboolean(L, 2);
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_inspireRemindEffective(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.inspireRemindEffective = LuaAPI.lua_toboolean(L, 2);
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_dungeonFightStage(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
DungeonFightStage gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.dungeonFightStage = gen_value;
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_specialItemCollectRecord(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
Snxxz.UI.Item gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.specialItemCollectRecord = gen_value;
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_cacheGradeMap(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.cacheGradeMap = LuaAPI.xlua_tointeger(L, 2);
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_gradeTween(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.gradeTween = LuaAPI.lua_toboolean(L, 2);
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_dungeonCoolDownEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
System.Action<DungeonCoolDownType> gen_delegate = translator.GetDelegate<System.Action<DungeonCoolDownType>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<DungeonCoolDownType>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.dungeonCoolDownEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.dungeonCoolDownEvent -= 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.DungeonModel.dungeonCoolDownEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_dungeonBeginCoolDownEndEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.dungeonBeginCoolDownEndEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.dungeonBeginCoolDownEndEvent -= 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.DungeonModel.dungeonBeginCoolDownEndEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_updateMissionEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.updateMissionEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.updateMissionEvent -= 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.DungeonModel.updateMissionEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_dungeonStageChangeEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.dungeonStageChangeEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.dungeonStageChangeEvent -= 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.DungeonModel.dungeonStageChangeEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_getDungeonResultEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.getDungeonResultEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.getDungeonResultEvent -= 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.DungeonModel.getDungeonResultEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_updateDungeonEnterCD(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.updateDungeonEnterCD += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.updateDungeonEnterCD -= 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.DungeonModel.updateDungeonEnterCD!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_updateDungeonBuyCnt(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.updateDungeonBuyCnt += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.updateDungeonBuyCnt -= 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.DungeonModel.updateDungeonBuyCnt!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_dungeonFairyLandChangeEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.dungeonFairyLandChangeEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.dungeonFairyLandChangeEvent -= 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.DungeonModel.dungeonFairyLandChangeEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_dungeonInspireLvEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.dungeonInspireLvEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.dungeonInspireLvEvent -= 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.DungeonModel.dungeonInspireLvEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_dungeonRecordChangeEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.dungeonRecordChangeEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.dungeonRecordChangeEvent -= 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.DungeonModel.dungeonRecordChangeEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_countRemainTimeChangeEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)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.countRemainTimeChangeEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.countRemainTimeChangeEvent -= 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.DungeonModel.countRemainTimeChangeEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_kylinDifficultySelectedEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
System.Action<Snxxz.UI.Dungeon> gen_delegate = translator.GetDelegate<System.Action<Snxxz.UI.Dungeon>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<Snxxz.UI.Dungeon>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.kylinDifficultySelectedEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.kylinDifficultySelectedEvent -= 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.DungeonModel.kylinDifficultySelectedEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_dungeonFightStageChangeEevent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DungeonModel gen_to_be_invoked = (Snxxz.UI.DungeonModel)translator.FastGetCSObj(L, 1);
|
System.Action<DungeonFightStage> gen_delegate = translator.GetDelegate<System.Action<DungeonFightStage>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<DungeonFightStage>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.dungeonFightStageChangeEevent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.dungeonFightStageChangeEevent -= 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.DungeonModel.dungeonFightStageChangeEevent!");
|
return 0;
|
}
|
|
|
|
}
|
}
|