#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 StoreModelWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(StoreModel);
|
Utils.BeginObjectRegister(type, L, translator, 0, 51, 24, 12);
|
|
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, "GetStoreRefreshTimeByType", _m_GetStoreRefreshTimeByType);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJobReplaceIDDict", _m_SetJobReplaceIDDict);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReplaceItemIdByJob", _m_ReplaceItemIdByJob);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBuyShopLimitModel", _m_RefreshBuyShopLimitModel);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBuyShopLimit", _m_GetBuyShopLimit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRuneSource", _m_SetRuneSource);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetShopItemlistByIndex", _m_GetShopItemlistByIndex);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetShopItemInfo", _m_TryGetShopItemInfo);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshTCBPlayerData", _m_RefreshTCBPlayerData);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTCBPlayerData", _m_GetTCBPlayerData);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickShopCell", _m_OnClickShopCell);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetBuyCnt", _m_SetBuyCnt);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendBuyShopItem", _m_SendBuyShopItem);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBuyResult", _m_GetBuyResult);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsCanBuyItem", _m_IsCanBuyItem);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "MoneyIsEnough", _m_MoneyIsEnough);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJumpToModel", _m_SetJumpToModel);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSaveDateTime", _m_GetSaveDateTime);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSaveFairyLV", _m_GetSaveFairyLV);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetStoreLocalSave", _m_SetStoreLocalSave);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ControllerRedPoint", _m_ControllerRedPoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckWeekStoreIsShopBuy", _m_CheckWeekStoreIsShopBuy);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckTheOnlyShopSellOut", _m_CheckTheOnlyShopSellOut);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetShopRedpoint", _m_SetShopRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFreeShopRedpoint", _m_UpdateFreeShopRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCanBuyRedpoint", _m_UpdateCanBuyRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateMustBuyRedpoint", _m_UpdateMustBuyRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearMustBuyRedpoint", _m_ClearMustBuyRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetIsMustBuyDay", _m_SetIsMustBuyDay);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsMustBuy", _m_CheckIsMustBuy);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckScoreStoreIsCanBuy", _m_CheckScoreStoreIsCanBuy);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckShopIsCanBuy", _m_CheckShopIsCanBuy);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdatePetAndMountPutAwayRedpoint", _m_UpdatePetAndMountPutAwayRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearPetAndMountRedpoint", _m_ClearPetAndMountRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearAllPetAndMountRedpoint", _m_ClearAllPetAndMountRedpoint);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPushPetAndMountWinState", _m_SetPushPetAndMountWinState);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsShowPush", _m_CheckIsShowPush);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearPushData", _m_ClearPushData);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemovePetAndMountPush", _m_RemovePetAndMountPush);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJumpModel", _m_SetJumpModel);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearJumpModel", _m_ClearJumpModel);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBuyShopLimitEvent", _e_RefreshBuyShopLimitEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshTCBPlayerDataEvent", _e_RefreshTCBPlayerDataEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBuyResultEvent", _e_RefreshBuyResultEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "StoreFuncOpenAct", _e_StoreFuncOpenAct);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "pushRefreshEvent", _e_pushRefreshEvent);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "normalBuyCoinsTypes", _g_get_normalBuyCoinsTypes);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "UNIONSTORESAVE_KEY", _g_get_UNIONSTORESAVE_KEY);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MUSTBUYSAVE_KEY", _g_get_MUSTBUYSAVE_KEY);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "StoreEffectRecord_Key", _g_get_StoreEffectRecord_Key);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "resetTimeDict", _g_get_resetTimeDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "showCoinsUIDict", _g_get_showCoinsUIDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "StoreRedIdlist", _g_get_StoreRedIdlist);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BuyCnt", _g_get_BuyCnt);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToItemId", _g_get_jumpToItemId);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsMustBuyDay", _g_get_IsMustBuyDay);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "currentPushId", _g_get_currentPushId);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "funcOrder", _g_get_funcOrder);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpShopId", _g_get_jumpShopId);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "shoplist", _g_get_shoplist);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "JobReplaceIdDict", _g_get_JobReplaceIdDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeFuncType", _g_get_storeFuncType);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeFuncPoint", _g_get_storeFuncPoint);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeFunc1Point", _g_get_storeFunc1Point);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeFunc2Point", _g_get_storeFunc2Point);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeFunc3Point", _g_get_storeFunc3Point);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeFunc4Point", _g_get_storeFunc4Point);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeFunc5Point", _g_get_storeFunc5Point);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "shopRedDict", _g_get_shopRedDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "mustIdlist", _g_get_mustIdlist);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "jumpToItemId", _s_set_jumpToItemId);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "shoplist", _s_set_shoplist);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "JobReplaceIdDict", _s_set_JobReplaceIdDict);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "storeFuncType", _s_set_storeFuncType);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "storeFuncPoint", _s_set_storeFuncPoint);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "storeFunc1Point", _s_set_storeFunc1Point);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "storeFunc2Point", _s_set_storeFunc2Point);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "storeFunc3Point", _s_set_storeFunc3Point);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "storeFunc4Point", _s_set_storeFunc4Point);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "storeFunc5Point", _s_set_storeFunc5Point);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "shopRedDict", _s_set_shopRedDict);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "mustIdlist", _s_set_mustIdlist);
|
|
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
null, null, null);
|
|
Utils.BeginClassRegister(type, L, __CreateInstance, 7, 0, 0);
|
|
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc_RedKey", StoreModel.StoreFunc_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc1_RedKey", StoreModel.StoreFunc1_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc2_RedKey", StoreModel.StoreFunc2_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc3_RedKey", StoreModel.StoreFunc3_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc4_RedKey", StoreModel.StoreFunc4_RedKey);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc5_RedKey", StoreModel.StoreFunc5_RedKey);
|
|
|
|
|
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)
|
{
|
|
StoreModel gen_ret = new StoreModel();
|
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 StoreModel constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Init(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)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);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)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);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)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);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)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_GetStoreRefreshTimeByType(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
|
string gen_ret = gen_to_be_invoked.GetStoreRefreshTimeByType( _type );
|
LuaAPI.lua_pushstring(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_UnInit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)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_SetJobReplaceIDDict(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetJobReplaceIDDict( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ReplaceItemIdByJob(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _storeId = LuaAPI.xlua_tointeger(L, 2);
|
int _itemId = LuaAPI.xlua_tointeger(L, 3);
|
|
int gen_ret = gen_to_be_invoked.ReplaceItemIdByJob( _storeId, _itemId );
|
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_RefreshBuyShopLimitModel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA802_tagMCShopItemDayBuyCntInfo _buylimit = (HA802_tagMCShopItemDayBuyCntInfo)translator.GetObject(L, 2, typeof(HA802_tagMCShopItemDayBuyCntInfo));
|
|
gen_to_be_invoked.RefreshBuyShopLimitModel( _buylimit );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetBuyShopLimit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
uint _itemIndex = LuaAPI.xlua_touint(L, 2);
|
|
BuyShopItemLimit gen_ret = gen_to_be_invoked.GetBuyShopLimit( _itemIndex );
|
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_SetRuneSource(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _itemId = LuaAPI.xlua_tointeger(L, 2);
|
|
TableConfig.RuneTowerFloorConfig gen_ret = gen_to_be_invoked.SetRuneSource( _itemId );
|
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_GetShopItemlistByIndex(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.StoreConfig _storeConfig = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
|
|
System.Collections.Generic.List<ShopItemInfo> gen_ret = gen_to_be_invoked.GetShopItemlistByIndex( _storeConfig );
|
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_TryGetShopItemInfo(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
StoreFunc __type;translator.Get(L, 2, out __type);
|
int __id = LuaAPI.xlua_tointeger(L, 3);
|
System.Collections.Generic.List<ShopItemInfo> __shopItems;
|
|
bool gen_ret = gen_to_be_invoked.TryGetShopItemInfo( __type, __id, out __shopItems );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
translator.Push(L, __shopItems);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RefreshTCBPlayerData(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
H0418_tagObjInfoRefresh _info = (H0418_tagObjInfoRefresh)translator.GetObject(L, 2, typeof(H0418_tagObjInfoRefresh));
|
|
gen_to_be_invoked.RefreshTCBPlayerData( _info );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetTCBPlayerData(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
PlayerDataRefresh _tCDBPlayer;translator.Get(L, 2, out _tCDBPlayer);
|
|
int gen_ret = gen_to_be_invoked.GetTCBPlayerData( _tCDBPlayer );
|
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_OnClickShopCell(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.StoreConfig _shopInfo = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
|
|
gen_to_be_invoked.OnClickShopCell( _shopInfo );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetBuyCnt(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _buyCnt = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.SetBuyCnt( _buyCnt );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendBuyShopItem(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.StoreConfig _model = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
|
int _count = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SendBuyShopItem( _model, _count );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetBuyResult(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA811_tagMCShoppingResult _result = (HA811_tagMCShoppingResult)translator.GetObject(L, 2, typeof(HA811_tagMCShoppingResult));
|
|
gen_to_be_invoked.GetBuyResult( _result );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_IsCanBuyItem(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _limitTower = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.IsCanBuyItem( _limitTower );
|
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_MoneyIsEnough(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _moneyType = LuaAPI.xlua_tointeger(L, 2);
|
ulong _money = LuaAPI.lua_touint64(L, 3);
|
|
bool gen_ret = gen_to_be_invoked.MoneyIsEnough( _moneyType, _money );
|
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_SetJumpToModel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _itemId = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.SetJumpToModel( _itemId );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetSaveDateTime(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetSaveDateTime( );
|
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_GetSaveFairyLV(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
int gen_ret = gen_to_be_invoked.GetSaveFairyLV( );
|
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_SetStoreLocalSave(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
LocalSaveStoreType _saveStoreType;translator.Get(L, 2, out _saveStoreType);
|
int[] _infos = translator.GetParams<int>(L, 3);
|
|
gen_to_be_invoked.SetStoreLocalSave( _saveStoreType, _infos );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ControllerRedPoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2))
|
{
|
bool _isLook = LuaAPI.lua_toboolean(L, 2);
|
|
gen_to_be_invoked.ControllerRedPoint( _isLook );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 1)
|
{
|
|
gen_to_be_invoked.ControllerRedPoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
return LuaAPI.luaL_error(L, "invalid arguments to StoreModel.ControllerRedPoint!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CheckWeekStoreIsShopBuy(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
System.Collections.Generic.List<TableConfig.StoreConfig> _buylist;
|
|
bool gen_ret = gen_to_be_invoked.CheckWeekStoreIsShopBuy( out _buylist );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
translator.Push(L, _buylist);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CheckTheOnlyShopSellOut(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _shopIndex = LuaAPI.xlua_tointeger(L, 2);
|
bool _isTheOnlyShop;
|
|
bool gen_ret = gen_to_be_invoked.CheckTheOnlyShopSellOut( _shopIndex, out _isTheOnlyShop );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.lua_pushboolean(L, _isTheOnlyShop);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetShopRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetShopRedpoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateFreeShopRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateFreeShopRedpoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateCanBuyRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateCanBuyRedpoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateMustBuyRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateMustBuyRedpoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ClearMustBuyRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.StoreConfig _storeConfig = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
|
|
gen_to_be_invoked.ClearMustBuyRedpoint( _storeConfig );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetIsMustBuyDay(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetIsMustBuyDay( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CheckIsMustBuy(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.StoreConfig _config = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
|
|
bool gen_ret = gen_to_be_invoked.CheckIsMustBuy( _config );
|
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_CheckScoreStoreIsCanBuy(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.StoreConfig _storeConfig = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
|
|
bool gen_ret = gen_to_be_invoked.CheckScoreStoreIsCanBuy( _storeConfig );
|
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_CheckShopIsCanBuy(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.StoreConfig _storeConfig = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
|
|
bool gen_ret = gen_to_be_invoked.CheckShopIsCanBuy( _storeConfig );
|
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_UpdatePetAndMountPutAwayRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdatePetAndMountPutAwayRedpoint( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ClearPetAndMountRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.StoreConfig _storeConfig = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
|
|
gen_to_be_invoked.ClearPetAndMountRedpoint( _storeConfig );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ClearAllPetAndMountRedpoint(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
StoreFunc _storeFunc;translator.Get(L, 2, out _storeFunc);
|
|
gen_to_be_invoked.ClearAllPetAndMountRedpoint( _storeFunc );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetPushPetAndMountWinState(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 3&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
|
{
|
bool _isMustClose = LuaAPI.lua_toboolean(L, 2);
|
bool _isClearData = LuaAPI.lua_toboolean(L, 3);
|
|
gen_to_be_invoked.SetPushPetAndMountWinState( _isMustClose, _isClearData );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2))
|
{
|
bool _isMustClose = LuaAPI.lua_toboolean(L, 2);
|
|
gen_to_be_invoked.SetPushPetAndMountWinState( _isMustClose );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 1)
|
{
|
|
gen_to_be_invoked.SetPushPetAndMountWinState( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
return LuaAPI.luaL_error(L, "invalid arguments to StoreModel.SetPushPetAndMountWinState!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CheckIsShowPush(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2))
|
{
|
bool _isMustClose = LuaAPI.lua_toboolean(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.CheckIsShowPush( _isMustClose );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
|
|
|
return 1;
|
}
|
if(gen_param_count == 1)
|
{
|
|
bool gen_ret = gen_to_be_invoked.CheckIsShowPush( );
|
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 StoreModel.CheckIsShowPush!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ClearPushData(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ClearPushData( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RemovePetAndMountPush(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _shopId = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.RemovePetAndMountPush( _shopId );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetJumpModel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
StoreFunc _storeFunc;translator.Get(L, 2, out _storeFunc);
|
int _shopId = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SetJumpModel( _storeFunc, _shopId );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ClearJumpModel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ClearJumpModel( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_normalBuyCoinsTypes(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.normalBuyCoinsTypes);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_UNIONSTORESAVE_KEY(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.UNIONSTORESAVE_KEY);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_MUSTBUYSAVE_KEY(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.MUSTBUYSAVE_KEY);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_StoreEffectRecord_Key(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.StoreEffectRecord_Key);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_resetTimeDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.resetTimeDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_showCoinsUIDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.showCoinsUIDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_StoreRedIdlist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.StoreRedIdlist);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_BuyCnt(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.BuyCnt);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_jumpToItemId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.jumpToItemId);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsMustBuyDay(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsMustBuyDay);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_currentPushId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.currentPushId);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_funcOrder(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.funcOrder);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_jumpShopId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.jumpShopId);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_shoplist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.shoplist);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_JobReplaceIdDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.JobReplaceIdDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_storeFuncType(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.storeFuncType);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_storeFuncPoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.storeFuncPoint);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_storeFunc1Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.storeFunc1Point);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_storeFunc2Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.storeFunc2Point);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_storeFunc3Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.storeFunc3Point);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_storeFunc4Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.storeFunc4Point);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_storeFunc5Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.storeFunc5Point);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_shopRedDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.shopRedDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_mustIdlist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.mustIdlist);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_jumpToItemId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.jumpToItemId = 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_shoplist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.shoplist = (System.Collections.Generic.List<TableConfig.StoreConfig>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<TableConfig.StoreConfig>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_JobReplaceIdDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.JobReplaceIdDict = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.Dictionary<int, int>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.Dictionary<int, int>>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_storeFuncType(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
StoreFunc gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.storeFuncType = 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_storeFuncPoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.storeFuncPoint = (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_storeFunc1Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.storeFunc1Point = (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_storeFunc2Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.storeFunc2Point = (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_storeFunc3Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.storeFunc3Point = (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_storeFunc4Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.storeFunc4Point = (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_storeFunc5Point(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.storeFunc5Point = (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_shopRedDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.shopRedDict = (System.Collections.Generic.Dictionary<int, Snxxz.UI.Redpoint>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, 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_mustIdlist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.mustIdlist = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_RefreshBuyShopLimitEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
StoreModel gen_to_be_invoked = (StoreModel)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.RefreshBuyShopLimitEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.RefreshBuyShopLimitEvent -= 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 StoreModel.RefreshBuyShopLimitEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_RefreshTCBPlayerDataEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
|
System.Action<PlayerDataRefresh> gen_delegate = translator.GetDelegate<System.Action<PlayerDataRefresh>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<PlayerDataRefresh>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.RefreshTCBPlayerDataEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.RefreshTCBPlayerDataEvent -= 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 StoreModel.RefreshTCBPlayerDataEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_RefreshBuyResultEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
StoreModel gen_to_be_invoked = (StoreModel)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.RefreshBuyResultEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.RefreshBuyResultEvent -= 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 StoreModel.RefreshBuyResultEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_StoreFuncOpenAct(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
StoreModel gen_to_be_invoked = (StoreModel)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.StoreFuncOpenAct += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.StoreFuncOpenAct -= 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 StoreModel.StoreFuncOpenAct!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_pushRefreshEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
StoreModel gen_to_be_invoked = (StoreModel)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.pushRefreshEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.pushRefreshEvent -= 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 StoreModel.pushRefreshEvent!");
|
return 0;
|
}
|
|
|
|
}
|
}
|