#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 SnxxzUIFairyGrabBossModelWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(Snxxz.UI.FairyGrabBossModel);
|
Utils.BeginObjectRegister(type, L, translator, 0, 31, 18, 3);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RecheckGrabBoss", _m_RecheckGrabBoss);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetDropItems", _m_TryGetDropItems);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "QueryGrabBossHurt", _m_QueryGrabBossHurt);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateBossHurt", _m_UpdateBossHurt);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "QueryGrabBossProgress", _m_QueryGrabBossProgress);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateBossProgress", _m_UpdateBossProgress);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetBossProgress", _m_TryGetBossProgress);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetBossHurt", _m_TryGetBossHurt);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetFairyGrabBossLine", _m_TryGetFairyGrabBossLine);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsBossKilled", _m_IsBossKilled);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TestEnterDungeon", _m_TestEnterDungeon);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisplayErrorTip", _m_DisplayErrorTip);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsBossAlive", _m_IsBossAlive);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateBossAlive", _m_UpdateBossAlive);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveHelp", _m_RemoveHelp);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "InAnyGrabBossArea", _m_InAnyGrabBossArea);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetNextSessionSeconds", _m_GetNextSessionSeconds);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetViewFairyGrabBossNotice", _m_SetViewFairyGrabBossNotice);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "stateUpdate", _e_stateUpdate);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossSelectedEvent", _e_bossSelectedEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossHurtUpdate", _e_bossHurtUpdate);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossProgressUpdate", _e_bossProgressUpdate);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossAllProgressUpdate", _e_bossAllProgressUpdate);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossGrabHintEvent", _e_bossGrabHintEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "gotoBossStateUpdate", _e_gotoBossStateUpdate);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "fairyGrabBossHelpUpdate", _e_fairyGrabBossHelpUpdate);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "onStateUpate", _e_onStateUpate);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bosses", _g_get_bosses);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsActivityOpen", _g_get_IsActivityOpen);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "InActivityTime", _g_get_InActivityTime);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectBoss", _g_get_selectBoss);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "surplusSeconds", _g_get_surplusSeconds);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "grabBossHintOpen", _g_get_grabBossHintOpen);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "callMemberDuty", _g_get_callMemberDuty);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "callMemberSeconds", _g_get_callMemberSeconds);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "noticeShowPet", _g_get_noticeShowPet);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "noticeShowHorse", _g_get_noticeShowHorse);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cacheGotoBossId", _g_get_cacheGotoBossId);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "reduceInjuryBuffId", _g_get_reduceInjuryBuffId);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpCoolDown", _g_get_helpCoolDown);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOpen", _g_get_IsOpen);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAdvance", _g_get_IsAdvance);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "priorityOpen", _g_get_priorityOpen);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "notified", _g_get_notified);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyGrabBossHelps", _g_get_fairyGrabBossHelps);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectBoss", _s_set_selectBoss);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "helpCoolDown", _s_set_helpCoolDown);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "fairyGrabBossHelps", _s_set_fairyGrabBossHelps);
|
|
|
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.FairyGrabBossModel gen_ret = new Snxxz.UI.FairyGrabBossModel();
|
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.FairyGrabBossModel constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Init(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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_OnPlayerLoginOk(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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_RecheckGrabBoss(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.RecheckGrabBoss( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetDropItems(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _bossId = LuaAPI.xlua_tointeger(L, 2);
|
System.Collections.Generic.List<Snxxz.UI.Item> _dropItems;
|
|
bool gen_ret = gen_to_be_invoked.TryGetDropItems( _bossId, out _dropItems );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
translator.Push(L, _dropItems);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_QueryGrabBossHurt(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _bossId = LuaAPI.xlua_tointeger(L, 2);
|
int _queryType = LuaAPI.xlua_tointeger(L, 3);
|
uint _objId = LuaAPI.xlua_touint(L, 4);
|
|
gen_to_be_invoked.QueryGrabBossHurt( _bossId, _queryType, _objId );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateBossHurt(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA715_tagMCFamilyBossHurtList _package = (HA715_tagMCFamilyBossHurtList)translator.GetObject(L, 2, typeof(HA715_tagMCFamilyBossHurtList));
|
|
gen_to_be_invoked.UpdateBossHurt( _package );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_QueryGrabBossProgress(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.QueryGrabBossProgress( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateBossProgress(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HAC10_tagGCAllFamilyBossHurtInfoList _package = (HAC10_tagGCAllFamilyBossHurtInfoList)translator.GetObject(L, 2, typeof(HAC10_tagGCAllFamilyBossHurtInfoList));
|
|
gen_to_be_invoked.UpdateBossProgress( _package );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetBossProgress(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _bossId = LuaAPI.xlua_tointeger(L, 2);
|
Snxxz.UI.FairyGrabBossModel.BossProgressInfo _bossProgressInfo;
|
|
bool gen_ret = gen_to_be_invoked.TryGetBossProgress( _bossId, out _bossProgressInfo );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
translator.Push(L, _bossProgressInfo);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetBossHurt(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _bossId = LuaAPI.xlua_tointeger(L, 2);
|
int _queryType = LuaAPI.xlua_tointeger(L, 3);
|
Snxxz.UI.FairyGrabBossModel.FairyGrabBossInfo _fairyGrabBossInfo;
|
|
bool gen_ret = gen_to_be_invoked.TryGetBossHurt( _bossId, _queryType, out _fairyGrabBossInfo );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
translator.Push(L, _fairyGrabBossInfo);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_TryGetFairyGrabBossLine(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _lineId;
|
|
bool gen_ret = gen_to_be_invoked.TryGetFairyGrabBossLine( out _lineId );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _lineId);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_IsBossKilled(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _bossId = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.IsBossKilled( _bossId );
|
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_TestEnterDungeon(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _bossId = LuaAPI.xlua_tointeger(L, 2);
|
int __error;
|
|
bool gen_ret = gen_to_be_invoked.TestEnterDungeon( _bossId, 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_DisplayErrorTip(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _error = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.DisplayErrorTip( _error );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_IsBossAlive(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _npcId = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.IsBossAlive( _npcId );
|
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_UpdateBossAlive(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA902_tagGCGameWorldBossInfo _package = (HA902_tagGCGameWorldBossInfo)translator.GetObject(L, 2, typeof(HA902_tagGCGameWorldBossInfo));
|
|
gen_to_be_invoked.UpdateBossAlive( _package );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RemoveHelp(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.RemoveHelp( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_InAnyGrabBossArea(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
bool gen_ret = gen_to_be_invoked.InAnyGrabBossArea( );
|
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_GetNextSessionSeconds(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
int gen_ret = gen_to_be_invoked.GetNextSessionSeconds( );
|
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_SetViewFairyGrabBossNotice(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetViewFairyGrabBossNotice( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_bosses(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.bosses);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsActivityOpen(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsActivityOpen);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_InActivityTime(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.InActivityTime);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_selectBoss(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.selectBoss);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_surplusSeconds(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.surplusSeconds);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_grabBossHintOpen(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.grabBossHintOpen);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_callMemberDuty(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.callMemberDuty);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_callMemberSeconds(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.callMemberSeconds);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_noticeShowPet(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.noticeShowPet);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_noticeShowHorse(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.noticeShowHorse);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_cacheGotoBossId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cacheGotoBossId);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_reduceInjuryBuffId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.reduceInjuryBuffId);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_helpCoolDown(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.helpCoolDown);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsOpen(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsOpen);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsAdvance(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsAdvance);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_priorityOpen(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.priorityOpen);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_notified(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.notified);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairyGrabBossHelps(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.fairyGrabBossHelps);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_selectBoss(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.selectBoss = 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_helpCoolDown(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.helpCoolDown = 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_fairyGrabBossHelps(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.fairyGrabBossHelps = (System.Collections.Generic.List<Snxxz.UI.FairyGrabBossModel.FairyGrabBossHelp>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<Snxxz.UI.FairyGrabBossModel.FairyGrabBossHelp>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_stateUpdate(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.stateUpdate += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.stateUpdate -= 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.FairyGrabBossModel.stateUpdate!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_bossSelectedEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.bossSelectedEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.bossSelectedEvent -= 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.FairyGrabBossModel.bossSelectedEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_bossHurtUpdate(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1);
|
System.Action<int, int> gen_delegate = translator.GetDelegate<System.Action<int, int>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<int, int>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.bossHurtUpdate += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.bossHurtUpdate -= 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.FairyGrabBossModel.bossHurtUpdate!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_bossProgressUpdate(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.bossProgressUpdate += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.bossProgressUpdate -= 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.FairyGrabBossModel.bossProgressUpdate!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_bossAllProgressUpdate(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.bossAllProgressUpdate += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.bossAllProgressUpdate -= 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.FairyGrabBossModel.bossAllProgressUpdate!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_bossGrabHintEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.bossGrabHintEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.bossGrabHintEvent -= 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.FairyGrabBossModel.bossGrabHintEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_gotoBossStateUpdate(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.gotoBossStateUpdate += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.gotoBossStateUpdate -= 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.FairyGrabBossModel.gotoBossStateUpdate!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_fairyGrabBossHelpUpdate(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.fairyGrabBossHelpUpdate += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.fairyGrabBossHelpUpdate -= 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.FairyGrabBossModel.fairyGrabBossHelpUpdate!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_onStateUpate(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)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.onStateUpate += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.onStateUpate -= 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.FairyGrabBossModel.onStateUpate!");
|
return 0;
|
}
|
|
|
|
}
|
}
|