#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 SnxxzUIFairyModelWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(Snxxz.UI.FairyModel);
|
Utils.BeginObjectRegister(type, L, translator, 0, 37, 29, 9);
|
|
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, "GotoFairyWin", _m_GotoFairyWin);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendKickFairy", _m_SendKickFairy);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendApplyFairy", _m_SendApplyFairy);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnSearchPageList", _m_OnSearchPageList);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendSearchFairyList", _m_SendSearchFairyList);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendGetFairySalary", _m_SendGetFairySalary);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairySalary", _m_UpdateFairySalary);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairyRequested", _m_UpdateFairyRequested);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "FairyRequested", _m_FairyRequested);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairyInfo", _m_UpdateFairyInfo);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnSort", _m_OnSort);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Compare", _m_Compare);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendInviteFairy", _m_SendInviteFairy);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairyRequest", _m_UpdateFairyRequest);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveFairyRequest", _m_RemoveFairyRequest);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearAllFairyRequest", _m_ClearAllFairyRequest);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AgreeFairyRequest", _m_AgreeFairyRequest);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckFairyNameLimit", _m_CheckFairyNameLimit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowFairyNameErrorTip", _m_ShowFairyNameErrorTip);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendChangeFairyName", _m_SendChangeFairyName);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairyChangeName", _m_UpdateFairyChangeName);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SatisfyGuardSkyFairyLv", _m_SatisfyGuardSkyFairyLv);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateGuardSky", _m_UpdateGuardSky);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAddFairyRedpoint", _m_UpdateAddFairyRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFakeId", _m_UpdateFakeId);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ProcessErrorTip", _m_ProcessErrorTip);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ProcessMethodToErrorTip", _m_ProcessMethodToErrorTip);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SatisfyOpenFairyLeagueLv", _m_SatisfyOpenFairyLeagueLv);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairySalaryEvent", _e_UpdateFairySalaryEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairyRequestEvent", _e_UpdateFairyRequestEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFairyChangeNameEvent", _e_UpdateFairyChangeNameEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "guardSkyCompleteEvent", _e_guardSkyCompleteEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "fakeFairyUpdateEvent", _e_fakeFairyUpdateEvent);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentChangeMember", _g_get_presentChangeMember);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOnAllot", _g_get_IsOnAllot);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "createFairyLv", _g_get_createFairyLv);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "createFairyCost", _g_get_createFairyCost);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "freeNotifyCount", _g_get_freeNotifyCount);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "changeNotifyCost", _g_get_changeNotifyCost);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyFeastDeskNpc", _g_get_fairyFeastDeskNpc);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairySalaryGet", _g_get_fairySalaryGet);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "sortType", _g_get_sortType);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "up", _g_get_up);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "FairyRequestRedPoint", _g_get_FairyRequestRedPoint);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "completeGuardSky", _g_get_completeGuardSky);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardSkyOpenFairyLv", _g_get_guardSkyOpenFairyLv);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairySalaryRedpoint", _g_get_fairySalaryRedpoint);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fakeFairyNames", _g_get_fakeFairyNames);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fakeFairyCount", _g_get_fakeFairyCount);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fakeFairyIds", _g_get_fakeFairyIds);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyStoreLimit", _g_get_fairyStoreLimit);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyStoreOpen", _g_get_fairyStoreOpen);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyMethodToLimit", _g_get_fairyMethodToLimit);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyMethodToOpen", _g_get_fairyMethodToOpen);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyLeagueLimit", _g_get_fairyLeagueLimit);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "InFairyLeagueDungeon", _g_get_InFairyLeagueDungeon);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "changeFairyNameItem", _g_get_changeFairyNameItem);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyList", _g_get_fairyList);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "page", _g_get_page);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentFairy", _g_get_presentFairy);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "sortFairyMembers", _g_get_sortFairyMembers);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyRequestDict", _g_get_fairyRequestDict);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "presentChangeMember", _s_set_presentChangeMember);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsOnAllot", _s_set_IsOnAllot);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "sortType", _s_set_sortType);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "up", _s_set_up);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "fairyList", _s_set_fairyList);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "page", _s_set_page);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "presentFairy", _s_set_presentFairy);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "sortFairyMembers", _s_set_sortFairyMembers);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "fairyRequestDict", _s_set_fairyRequestDict);
|
|
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
null, null, null);
|
|
Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0);
|
|
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FakeFairyStartIndex", Snxxz.UI.FairyModel.FakeFairyStartIndex);
|
|
|
|
|
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.FairyModel gen_ret = new Snxxz.UI.FairyModel();
|
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.FairyModel constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Init(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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_GotoFairyWin(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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 _functionOrder = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.GotoFairyWin( _functionOrder );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 1)
|
{
|
|
gen_to_be_invoked.GotoFairyWin( );
|
|
|
|
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.FairyModel.GotoFairyWin!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendKickFairy(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
uint _playerID = LuaAPI.xlua_touint(L, 2);
|
|
gen_to_be_invoked.SendKickFairy( _playerID );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendApplyFairy(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
uint _id = LuaAPI.xlua_touint(L, 2);
|
|
gen_to_be_invoked.SendApplyFairy( _id );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_OnSearchPageList(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.OnSearchPageList( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendSearchFairyList(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __page = LuaAPI.xlua_tointeger(L, 2);
|
int __pageCnt = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SendSearchFairyList( __page, __pageCnt );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendGetFairySalary(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SendGetFairySalary( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateFairySalary(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __state = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.UpdateFairySalary( __state );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateFairyRequested(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA501_tagMCNotifyRequestJoinFamilyInfo __package = (HA501_tagMCNotifyRequestJoinFamilyInfo)translator.GetObject(L, 2, typeof(HA501_tagMCNotifyRequestJoinFamilyInfo));
|
|
gen_to_be_invoked.UpdateFairyRequested( __package );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_FairyRequested(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __fairyId = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.FairyRequested( __fairyId );
|
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_UpdateFairyInfo(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateFairyInfo( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_OnSort(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.OnSort( _type );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Compare(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
PlayerFairyData.FairyMember _x = (PlayerFairyData.FairyMember)translator.GetObject(L, 2, typeof(PlayerFairyData.FairyMember));
|
PlayerFairyData.FairyMember _y = (PlayerFairyData.FairyMember)translator.GetObject(L, 3, typeof(PlayerFairyData.FairyMember));
|
|
int gen_ret = gen_to_be_invoked.Compare( _x, _y );
|
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_SendInviteFairy(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __playerId = LuaAPI.xlua_tointeger(L, 2);
|
string __playerName = LuaAPI.lua_tostring(L, 3);
|
|
gen_to_be_invoked.SendInviteFairy( __playerId, __playerName );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateFairyRequest(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
H0F04_tagFamilyAskIfJoin _vNetData = (H0F04_tagFamilyAskIfJoin)translator.GetObject(L, 2, typeof(H0F04_tagFamilyAskIfJoin));
|
|
gen_to_be_invoked.UpdateFairyRequest( _vNetData );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RemoveFairyRequest(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __fairyId = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.RemoveFairyRequest( __fairyId );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ClearAllFairyRequest(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ClearAllFairyRequest( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_AgreeFairyRequest(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __fairyId = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.AgreeFairyRequest( __fairyId );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CheckFairyNameLimit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
string __name = LuaAPI.lua_tostring(L, 2);
|
int _errorCode;
|
|
bool gen_ret = gen_to_be_invoked.CheckFairyNameLimit( __name, out _errorCode );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _errorCode);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ShowFairyNameErrorTip(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __errorCode = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.ShowFairyNameErrorTip( __errorCode );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendChangeFairyName(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
string __name = LuaAPI.lua_tostring(L, 2);
|
int __itemIndex = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SendChangeFairyName( __name, __itemIndex );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateFairyChangeName(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
H0F07_tagFamilyRenameResult __package = (H0F07_tagFamilyRenameResult)translator.GetObject(L, 2, typeof(H0F07_tagFamilyRenameResult));
|
|
gen_to_be_invoked.UpdateFairyChangeName( __package );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SatisfyGuardSkyFairyLv(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
bool gen_ret = gen_to_be_invoked.SatisfyGuardSkyFairyLv( );
|
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_UpdateGuardSky(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
bool __hasJoin = LuaAPI.lua_toboolean(L, 2);
|
|
gen_to_be_invoked.UpdateGuardSky( __hasJoin );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateAddFairyRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateAddFairyRedpoint( );
|
|
|
|
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.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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_UpdateFakeId(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
uint[] __ids = (uint[])translator.GetObject(L, 2, typeof(uint[]));
|
|
gen_to_be_invoked.UpdateFakeId( __ids );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ProcessErrorTip(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ProcessErrorTip( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ProcessMethodToErrorTip(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ProcessMethodToErrorTip( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SatisfyOpenFairyLeagueLv(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
bool gen_ret = gen_to_be_invoked.SatisfyOpenFairyLeagueLv( );
|
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_presentChangeMember(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.presentChangeMember);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsOnAllot(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsOnAllot);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_createFairyLv(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.createFairyLv);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_createFairyCost(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.createFairyCost);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_freeNotifyCount(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.freeNotifyCount);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_changeNotifyCost(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.changeNotifyCost);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairyFeastDeskNpc(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.fairyFeastDeskNpc);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairySalaryGet(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.fairySalaryGet);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_sortType(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.sortType);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_up(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.up);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_FairyRequestRedPoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.FairyRequestRedPoint);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_completeGuardSky(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.completeGuardSky);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_guardSkyOpenFairyLv(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.guardSkyOpenFairyLv);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairySalaryRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.fairySalaryRedpoint);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fakeFairyNames(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.fakeFairyNames);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fakeFairyCount(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.fakeFairyCount);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fakeFairyIds(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.fakeFairyIds);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairyStoreLimit(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.fairyStoreLimit);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairyStoreOpen(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.fairyStoreOpen);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairyMethodToLimit(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.fairyMethodToLimit);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairyMethodToOpen(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.fairyMethodToOpen);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairyLeagueLimit(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.fairyLeagueLimit);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_InFairyLeagueDungeon(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.InFairyLeagueDungeon);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_changeFairyNameItem(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.changeFairyNameItem);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairyList(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.fairyList);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_page(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.page);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_presentFairy(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.presentFairy);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_sortFairyMembers(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.sortFairyMembers);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_fairyRequestDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.fairyRequestDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_presentChangeMember(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.presentChangeMember = 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_IsOnAllot(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.IsOnAllot = 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_sortType(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.sortType = 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_up(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.up = 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_fairyList(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.fairyList = (System.Collections.Generic.List<PlayerFairyData.FairyData>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<PlayerFairyData.FairyData>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_page(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.page = 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_presentFairy(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.presentFairy = 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_sortFairyMembers(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.sortFairyMembers = (System.Collections.Generic.List<PlayerFairyData.FairyMember>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<PlayerFairyData.FairyMember>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_fairyRequestDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.fairyRequestDict = (System.Collections.Generic.Dictionary<int, Snxxz.UI.FairyModel.FairyRequest>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, Snxxz.UI.FairyModel.FairyRequest>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdateFairySalaryEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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.UpdateFairySalaryEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdateFairySalaryEvent -= 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.FairyModel.UpdateFairySalaryEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdateFairyRequestEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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.UpdateFairyRequestEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdateFairyRequestEvent -= 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.FairyModel.UpdateFairyRequestEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdateFairyChangeNameEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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.UpdateFairyChangeNameEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdateFairyChangeNameEvent -= 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.FairyModel.UpdateFairyChangeNameEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_guardSkyCompleteEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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.guardSkyCompleteEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.guardSkyCompleteEvent -= 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.FairyModel.guardSkyCompleteEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_fakeFairyUpdateEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)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.fakeFairyUpdateEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.fakeFairyUpdateEvent -= 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.FairyModel.fakeFairyUpdateEvent!");
|
return 0;
|
}
|
|
|
|
}
|
}
|