#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 SnxxzUIHappyXBModelWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(Snxxz.UI.HappyXBModel);
|
Utils.BeginObjectRegister(type, L, translator, 0, 44, 20, 18);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetNotifyResult", _m_GetNotifyResult);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetXBFuncSet", _m_GetXBFuncSet);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetXBGetItemByID", _m_GetXBGetItemByID);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetXBItemConfigByType", _m_GetXBItemConfigByType);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerXBResult", _m_GetServerXBResult);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetXBResultRecord", _m_SetXBResultRecord);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByTime", _m_CompareByTime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetXBResultlist", _m_GetXBResultlist);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRandomList", _m_SetRandomList);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetXbResultDict", _m_GetXbResultDict);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearXBRusltData", _m_ClearXBRusltData);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerXBInfo", _m_GetServerXBInfo);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetXBInfoByType", _m_GetXBInfoByType);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendXBQuest", _m_SendXBQuest);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPutOutXBItem", _m_SendPutOutXBItem);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsEmptyGrid", _m_CheckIsEmptyGrid);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendOneXBQuest", _m_SendOneXBQuest);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendXBManyQuest", _m_SendXBManyQuest);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckXBManyLimit", _m_CheckXBManyLimit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsHaveFreeXB", _m_IsHaveFreeXB);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsHaveFreeXBTime", _m_IsHaveFreeXBTime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsXBTool", _m_CheckIsXBTool);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsHaveOneXBTool", _m_IsHaveOneXBTool);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsHaveManyXBTool", _m_IsHaveManyXBTool);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RecordFreeXBTime", _m_RecordFreeXBTime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBestXBTime", _m_RefreshBestXBTime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshRuneXBTime", _m_RefreshRuneXBTime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAgainXBEvent", _m_SetAgainXBEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshXBWarehouse", _m_RefreshXBWarehouse);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "XBWarehouseRedPoint", _m_XBWarehouseRedPoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "BestAndRuneXBRedPoint", _m_BestAndRuneXBRedPoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "XBStoreRedPoint", _m_XBStoreRedPoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByMoney", _m_CompareByMoney);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshXBTypeInfoAct", _e_RefreshXBTypeInfoAct);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshXBResultAct", _e_RefreshXBResultAct);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "StartXBEvent", _e_StartXBEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBestXBTimeAct", _e_RefreshBestXBTimeAct);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshRuneXBTimeAct", _e_RefreshRuneXBTimeAct);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshAgainXBAct", _e_RefreshAgainXBAct);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isXBCoolTime", _g_get_isXBCoolTime);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isJumpBestXB", _g_get_isJumpBestXB);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isJumpRuneXB", _g_get_isJumpRuneXB);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "addXBScore", _g_get_addXBScore);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "addXBLuckValue", _g_get_addXBLuckValue);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "title", _g_get_title);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "XBNotifyParms", _g_get_XBNotifyParms);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rangelist", _g_get_rangelist);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "mainTopRed", _g_get_mainTopRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "happyXBRed", _g_get_happyXBRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bestXBRed", _g_get_bestXBRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeXBRed", _g_get_runeXBRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "xbStoreRed", _g_get_xbStoreRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "xbWarehouseRed", _g_get_xbWarehouseRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bestXBOneRed", _g_get_bestXBOneRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bestXBManyRed", _g_get_bestXBManyRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bestXBFreeRed", _g_get_bestXBFreeRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeXBOneRed", _g_get_runeXBOneRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeXBManyRed", _g_get_runeXBManyRed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "runeXBFreeRed", _g_get_runeXBFreeRed);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "isXBCoolTime", _s_set_isXBCoolTime);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "isJumpBestXB", _s_set_isJumpBestXB);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "isJumpRuneXB", _s_set_isJumpRuneXB);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "title", _s_set_title);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "XBNotifyParms", _s_set_XBNotifyParms);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "rangelist", _s_set_rangelist);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "mainTopRed", _s_set_mainTopRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "happyXBRed", _s_set_happyXBRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "bestXBRed", _s_set_bestXBRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeXBRed", _s_set_runeXBRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "xbStoreRed", _s_set_xbStoreRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "xbWarehouseRed", _s_set_xbWarehouseRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "bestXBOneRed", _s_set_bestXBOneRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "bestXBManyRed", _s_set_bestXBManyRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "bestXBFreeRed", _s_set_bestXBFreeRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeXBOneRed", _s_set_runeXBOneRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeXBManyRed", _s_set_runeXBManyRed);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "runeXBFreeRed", _s_set_runeXBFreeRed);
|
|
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
null, null, null);
|
|
Utils.BeginClassRegister(type, L, __CreateInstance, 13, 1, 1);
|
|
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MainTop_RedKey", Snxxz.UI.HappyXBModel.MainTop_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "HappyXB_RedKey", Snxxz.UI.HappyXBModel.HappyXB_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BestXB_RedKey", Snxxz.UI.HappyXBModel.BestXB_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneXB_RedKey", Snxxz.UI.HappyXBModel.RuneXB_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XBStore_RedKey", Snxxz.UI.HappyXBModel.XBStore_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XBWarehouse_RedKey", Snxxz.UI.HappyXBModel.XBWarehouse_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BestXB_OneRedKey", Snxxz.UI.HappyXBModel.BestXB_OneRedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BestXB_ManyRedKey", Snxxz.UI.HappyXBModel.BestXB_ManyRedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BestXB_FreeRedKey", Snxxz.UI.HappyXBModel.BestXB_FreeRedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneXB_OneRedKey", Snxxz.UI.HappyXBModel.RuneXB_OneRedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneXB_ManyRedKey", Snxxz.UI.HappyXBModel.RuneXB_ManyRedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneXB_FreeRedKey", Snxxz.UI.HappyXBModel.RuneXB_FreeRedKey);
|
|
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "HAPPYXBITEMKEY", _g_get_HAPPYXBITEMKEY);
|
|
Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "HAPPYXBITEMKEY", _s_set_HAPPYXBITEMKEY);
|
|
|
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.HappyXBModel gen_ret = new Snxxz.UI.HappyXBModel();
|
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.HappyXBModel constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Init(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)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.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)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.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.OnAfterPlayerDataInitialize( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_OnPlayerLoginOk(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)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.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)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_GetNotifyResult(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _itemId = LuaAPI.xlua_tointeger(L, 2);
|
int _itemCount = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.GetNotifyResult( _itemId, _itemCount );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetXBFuncSet(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
Snxxz.UI.XBFuncSet gen_ret = gen_to_be_invoked.GetXBFuncSet( _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_GetXBGetItemByID(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.Dictionary<int, Snxxz.UI.XBGetItem> gen_ret = gen_to_be_invoked.GetXBGetItemByID( _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_GetXBItemConfigByType(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
TableConfig.XBGetItemConfig gen_ret = gen_to_be_invoked.GetXBItemConfigByType( _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_GetServerXBResult(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA350_tagMCTreasureResult _result = (HA350_tagMCTreasureResult)translator.GetObject(L, 2, typeof(HA350_tagMCTreasureResult));
|
|
gen_to_be_invoked.GetServerXBResult( _result );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetXBResultRecord(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetXBResultRecord( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CompareByTime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.XBGetItem _start = (Snxxz.UI.XBGetItem)translator.GetObject(L, 2, typeof(Snxxz.UI.XBGetItem));
|
Snxxz.UI.XBGetItem _end = (Snxxz.UI.XBGetItem)translator.GetObject(L, 3, typeof(Snxxz.UI.XBGetItem));
|
|
int gen_ret = gen_to_be_invoked.CompareByTime( _start, _end );
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
|
|
|
return 1;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetXBResultlist(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.List<Snxxz.UI.XBGetItem> gen_ret = gen_to_be_invoked.GetXBResultlist( );
|
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_SetRandomList(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
System.Collections.Generic.List<Snxxz.UI.XBGetItem> _xbItemlist = (System.Collections.Generic.List<Snxxz.UI.XBGetItem>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<Snxxz.UI.XBGetItem>));
|
|
gen_to_be_invoked.SetRandomList( _xbItemlist );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetXbResultDict(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.Dictionary<int, Snxxz.UI.XBGetItem> gen_ret = gen_to_be_invoked.GetXbResultDict( );
|
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_ClearXBRusltData(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ClearXBRusltData( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetServerXBInfo(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA351_tagMCTreasureInfo _info = (HA351_tagMCTreasureInfo)translator.GetObject(L, 2, typeof(HA351_tagMCTreasureInfo));
|
|
gen_to_be_invoked.GetServerXBInfo( _info );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetXBInfoByType(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
Snxxz.UI.XBTypeInfo gen_ret = gen_to_be_invoked.GetXBInfoByType( _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_SendXBQuest(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
int _index = LuaAPI.xlua_tointeger(L, 3);
|
int _costType = LuaAPI.xlua_tointeger(L, 4);
|
|
gen_to_be_invoked.SendXBQuest( _type, _index, _costType );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendPutOutXBItem(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
PackType _curType;translator.Get(L, 2, out _curType);
|
PackType _targetType;translator.Get(L, 3, out _targetType);
|
int _index = LuaAPI.xlua_tointeger(L, 4);
|
int _isAll = LuaAPI.xlua_tointeger(L, 5);
|
|
gen_to_be_invoked.SendPutOutXBItem( _curType, _targetType, _index, _isAll );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CheckIsEmptyGrid(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 3&& translator.Assignable<PackType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
|
{
|
PackType _type;translator.Get(L, 2, out _type);
|
int _needGrid = LuaAPI.xlua_tointeger(L, 3);
|
|
bool gen_ret = gen_to_be_invoked.CheckIsEmptyGrid( _type, _needGrid );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
|
|
|
return 1;
|
}
|
if(gen_param_count == 2&& translator.Assignable<PackType>(L, 2))
|
{
|
PackType _type;translator.Get(L, 2, out _type);
|
|
bool gen_ret = gen_to_be_invoked.CheckIsEmptyGrid( _type );
|
LuaAPI.lua_pushboolean(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.HappyXBModel.CheckIsEmptyGrid!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendOneXBQuest(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
PackType _type;translator.Get(L, 2, out _type);
|
int _xbType = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SendOneXBQuest( _type, _xbType );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendXBManyQuest(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
PackType _type;translator.Get(L, 2, out _type);
|
int _xbType = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SendXBManyQuest( _type, _xbType );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CheckXBManyLimit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _needMoney = LuaAPI.xlua_tointeger(L, 2);
|
int _xbtype = LuaAPI.xlua_tointeger(L, 3);
|
int _costType = LuaAPI.xlua_tointeger(L, 4);
|
|
gen_to_be_invoked.CheckXBManyLimit( _needMoney, _xbtype, _costType );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_IsHaveFreeXB(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.IsHaveFreeXB( _type );
|
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_IsHaveFreeXBTime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.IsHaveFreeXBTime( _type );
|
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_CheckIsXBTool(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _itemId = LuaAPI.xlua_tointeger(L, 2);
|
int _type = LuaAPI.xlua_tointeger(L, 3);
|
|
bool gen_ret = gen_to_be_invoked.CheckIsXBTool( _itemId, _type );
|
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_IsHaveOneXBTool(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.IsHaveOneXBTool( _type );
|
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_IsHaveManyXBTool(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
int _toolCnt;
|
int _needToolCnt;
|
|
bool gen_ret = gen_to_be_invoked.IsHaveManyXBTool( _type, out _toolCnt, out _needToolCnt );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, _toolCnt);
|
|
LuaAPI.xlua_pushinteger(L, _needToolCnt);
|
|
|
|
|
return 3;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RecordFreeXBTime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.RecordFreeXBTime( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RefreshBestXBTime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
float _time = (float)LuaAPI.lua_tonumber(L, 2);
|
|
gen_to_be_invoked.RefreshBestXBTime( _time );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RefreshRuneXBTime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
float _time = (float)LuaAPI.lua_tonumber(L, 2);
|
|
gen_to_be_invoked.RefreshRuneXBTime( _time );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetAgainXBEvent(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.HappXBTitle _xBTitle;translator.Get(L, 2, out _xBTitle);
|
int _xbType = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SetAgainXBEvent( _xBTitle, _xbType );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RefreshXBWarehouse(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.RefreshXBWarehouse( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_XBWarehouseRedPoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.XBWarehouseRedPoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_BestAndRuneXBRedPoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.BestAndRuneXBRedPoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_XBStoreRedPoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.XBStoreRedPoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CompareByMoney(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.StoreConfig _start = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
|
TableConfig.StoreConfig _end = (TableConfig.StoreConfig)translator.GetObject(L, 3, typeof(TableConfig.StoreConfig));
|
|
int gen_ret = gen_to_be_invoked.CompareByMoney( _start, _end );
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
|
|
|
return 1;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_isXBCoolTime(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isXBCoolTime);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_isJumpBestXB(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isJumpBestXB);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_isJumpRuneXB(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isJumpRuneXB);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_addXBScore(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.addXBScore);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_addXBLuckValue(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.addXBLuckValue);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_title(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.title);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_HAPPYXBITEMKEY(RealStatePtr L)
|
{
|
try {
|
|
LuaAPI.lua_pushstring(L, Snxxz.UI.HappyXBModel.HAPPYXBITEMKEY);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_XBNotifyParms(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.XBNotifyParms);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_rangelist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.rangelist);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_mainTopRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.mainTopRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_happyXBRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.happyXBRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_bestXBRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.bestXBRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_runeXBRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.runeXBRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_xbStoreRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.xbStoreRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_xbWarehouseRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.xbWarehouseRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_bestXBOneRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.bestXBOneRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_bestXBManyRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.bestXBManyRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_bestXBFreeRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.bestXBFreeRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_runeXBOneRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.runeXBOneRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_runeXBManyRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.runeXBManyRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_runeXBFreeRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.runeXBFreeRed);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_isXBCoolTime(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.isXBCoolTime = 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_isJumpBestXB(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.isJumpBestXB = 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_isJumpRuneXB(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.isJumpRuneXB = 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_title(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
Snxxz.UI.HappXBTitle gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.title = 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_HAPPYXBITEMKEY(RealStatePtr L)
|
{
|
try {
|
|
Snxxz.UI.HappyXBModel.HAPPYXBITEMKEY = LuaAPI.lua_tostring(L, 1);
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_XBNotifyParms(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.XBNotifyParms = (System.Collections.Generic.List<System.Collections.ArrayList>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<System.Collections.ArrayList>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_rangelist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.rangelist = (System.Collections.Generic.List<Snxxz.UI.XBGetItem>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<Snxxz.UI.XBGetItem>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_mainTopRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.mainTopRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_happyXBRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.happyXBRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_bestXBRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.bestXBRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_runeXBRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.runeXBRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_xbStoreRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.xbStoreRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_xbWarehouseRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.xbWarehouseRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_bestXBOneRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.bestXBOneRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_bestXBManyRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.bestXBManyRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_bestXBFreeRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.bestXBFreeRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_runeXBOneRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.runeXBOneRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_runeXBManyRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.runeXBManyRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_runeXBFreeRed(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.runeXBFreeRed = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_RefreshXBTypeInfoAct(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)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.RefreshXBTypeInfoAct += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.RefreshXBTypeInfoAct -= 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.HappyXBModel.RefreshXBTypeInfoAct!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_RefreshXBResultAct(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)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.RefreshXBResultAct += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.RefreshXBResultAct -= 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.HappyXBModel.RefreshXBResultAct!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_StartXBEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)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.StartXBEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.StartXBEvent -= 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.HappyXBModel.StartXBEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_RefreshBestXBTimeAct(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
System.Action<float> gen_delegate = translator.GetDelegate<System.Action<float>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<float>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.RefreshBestXBTimeAct += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.RefreshBestXBTimeAct -= 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.HappyXBModel.RefreshBestXBTimeAct!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_RefreshRuneXBTimeAct(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
System.Action<float> gen_delegate = translator.GetDelegate<System.Action<float>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<float>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.RefreshRuneXBTimeAct += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.RefreshRuneXBTimeAct -= 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.HappyXBModel.RefreshRuneXBTimeAct!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_RefreshAgainXBAct(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.HappyXBModel gen_to_be_invoked = (Snxxz.UI.HappyXBModel)translator.FastGetCSObj(L, 1);
|
System.Action<Snxxz.UI.HappXBTitle, int> gen_delegate = translator.GetDelegate<System.Action<Snxxz.UI.HappXBTitle, int>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<Snxxz.UI.HappXBTitle, int>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.RefreshAgainXBAct += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.RefreshAgainXBAct -= 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.HappyXBModel.RefreshAgainXBAct!");
|
return 0;
|
}
|
|
|
|
}
|
}
|