#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 SnxxzUIPlayerPackModelWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.PlayerPackModel); Utils.BeginObjectRegister(type, L, translator, 0, 96, 37, 8); 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, "SetPlayerPackModel", _m_SetPlayerPackModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemModel", _m_SetItemModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetOpenGridCount", _m_SetOpenGridCount); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshItemCount", _m_RefreshItemCount); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearPackModel", _m_ClearPackModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearItemModel", _m_ClearItemModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "PackResetOk", _m_PackResetOk); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UseItemSuccess", _m_UseItemSuccess); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemGUIDDict", _m_SetItemGUIDDict); Utils.RegisterFunc(L, Utils.METHOD_IDX, "DeleteItemDictByGUID", _m_DeleteItemDictByGUID); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemUseCnt", _m_SetItemUseCnt); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemSumUseCnt", _m_SetItemSumUseCnt); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPlayerEquipAttrActiveInfo", _m_SetPlayerEquipAttrActiveInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendActiveAttrQuest", _m_SendActiveAttrQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetActiveCntByType", _m_GetActiveCntByType); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAddAttrIdByStars", _m_GetAddAttrIdByStars); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ParseConfig", _m_ParseConfig); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRoleEquipPathId", _m_GetRoleEquipPathId); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsShowAddEquipByPlace", _m_IsShowAddEquipByPlace); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckRoleEquipByPlace", _m_CheckRoleEquipByPlace); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRoleEquipLocalSave", _m_SetRoleEquipLocalSave); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSinglePackModel", _m_GetSinglePackModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetItemModelByGUID", _m_GetItemModelByGUID); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetItemModelByIndex", _m_GetItemModelByIndex); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetItemGUIDByID", _m_GetItemGUIDByID); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetItemCountByID", _m_GetItemCountByID); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckBagIsPutNewItem", _m_CheckBagIsPutNewItem); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReaminGridCount", _m_GetReaminGridCount); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDayUseCntByID", _m_GetDayUseCntByID); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSumUseCntByID", _m_GetSumUseCntByID); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWashAttrPointModel", _m_SetWashAttrPointModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRoleEquipRedpoint", _m_SetRoleEquipRedpoint); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateRoleEquipRed", _m_UpdateRoleEquipRed); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPlayerAttrActiveRedPoint", _m_SetPlayerAttrActiveRedPoint); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsActiveStarAttr", _m_IsActiveStarAttr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsActiveSTRAttr", _m_IsActiveSTRAttr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "EquipDecomRedCtrl", _m_EquipDecomRedCtrl); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLookIndex", _m_SetLookIndex); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBagInfo", _m_RefreshBagInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJumpToOneKeySell", _m_SetJumpToOneKeySell); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSkillConfig", _m_GetSkillConfig); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDungeonIDByDrugID", _m_GetDungeonIDByDrugID); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDrugIDListByDungeonID", _m_GetDrugIDListByDungeonID); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsReachUseLimit", _m_IsReachUseLimit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ContainPreciousItem", _m_ContainPreciousItem); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ContainTwoStarEquip", _m_ContainTwoStarEquip); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetColorSelect", _m_SetColorSelect); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLvSelect", _m_SetLvSelect); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetStarSelect", _m_SetStarSelect); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDevourEquipPlace", _m_SetDevourEquipPlace); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDevourModellist", _m_GetDevourModellist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByColor", _m_CompareByColor); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCanDevourModellist", _m_GetCanDevourModellist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsCanDevour", _m_IsCanDevour); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsMaxDecomLv", _m_IsMaxDecomLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSelectDevourList", _m_GetSelectDevourList); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshGetNewItem", _m_RefreshGetNewItem); Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddSelectDevourModellist", _m_AddSelectDevourModellist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsReachDevourCondi", _m_CheckIsReachDevourCondi); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveSelectDevourModellist", _m_RemoveSelectDevourModellist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDecomAttrDictByLv", _m_GetDecomAttrDictByLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsReachMinDecomposeNum", _m_IsReachMinDecomposeNum); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendEquipdevourQuest", _m_SendEquipdevourQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendEquipDevourRecordQuest", _m_SendEquipDevourRecordQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerDecomposeSet", _m_GetServerDecomposeSet); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetShowMatInfo", _m_SetShowMatInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDrugOrderByCnt", _m_GetDrugOrderByCnt); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsDrugById", _m_CheckIsDrugById); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByIsHave", _m_CompareByIsHave); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsHaveDrugUse", _m_IsHaveDrugUse); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsHaveDrugRecycle", _m_IsHaveDrugRecycle); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsReachMaxUseDrug", _m_IsReachMaxUseDrug); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAlchemyProgress", _m_GetAlchemyProgress); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshPackAct", _e_RefreshPackAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshItemCountAct", _e_RefreshItemCountAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GridRefreshEvent", _e_GridRefreshEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ItemCntAddAct", _e_ItemCntAddAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ItemCntReduceAct", _e_ItemCntReduceAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UseItemSuccessAct", _e_UseItemSuccessAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshItemDayUseCntAct", _e_RefreshItemDayUseCntAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshItemSumUseCntAct", _e_RefreshItemSumUseCntAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshActiveAttrAct", _e_RefreshActiveAttrAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshAttrActiveAct", _e_RefreshAttrActiveAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "lookEquipEvent", _e_lookEquipEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBagEvent", _e_RefreshBagEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "itemUseAct", _e_itemUseAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshColorSelectAct", _e_RefreshColorSelectAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshLvSelectAct", _e_RefreshLvSelectAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshStarSelectAct", _e_RefreshStarSelectAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshEquipDecomNumAct", _e_RefreshEquipDecomNumAct); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshDecomAttrAct", _e_RefreshDecomAttrAct); Utils.RegisterFunc(L, Utils.GETTER_IDX, "DrugToDungeonDict", _g_get_DrugToDungeonDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "DungeonToDrugDict", _g_get_DungeonToDrugDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "makeDruglist", _g_get_makeDruglist); Utils.RegisterFunc(L, Utils.GETTER_IDX, "MaxBagGridCnt", _g_get_MaxBagGridCnt); Utils.RegisterFunc(L, Utils.GETTER_IDX, "InitBagGridCnt", _g_get_InitBagGridCnt); Utils.RegisterFunc(L, Utils.GETTER_IDX, "MaxDepotGridCnt", _g_get_MaxDepotGridCnt); Utils.RegisterFunc(L, Utils.GETTER_IDX, "InitDepotGridCnt", _g_get_InitDepotGridCnt); Utils.RegisterFunc(L, Utils.GETTER_IDX, "LocalSavePlaceArray", _g_get_LocalSavePlaceArray); Utils.RegisterFunc(L, Utils.GETTER_IDX, "isPlayBetterEquipEffect", _g_get_isPlayBetterEquipEffect); Utils.RegisterFunc(L, Utils.GETTER_IDX, "showDropItem", _g_get_showDropItem); Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyRedPointLvlimt", _g_get_fairyRedPointLvlimt); Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsRedpointLvlimt", _g_get_wingsRedpointLvlimt); Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyGetPathId", _g_get_fairyGetPathId); Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsGetPathIdDict", _g_get_wingsGetPathIdDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "lookLineIndex", _g_get_lookLineIndex); Utils.RegisterFunc(L, Utils.GETTER_IDX, "lookItemGUID", _g_get_lookItemGUID); Utils.RegisterFunc(L, Utils.GETTER_IDX, "colorType", _g_get_colorType); Utils.RegisterFunc(L, Utils.GETTER_IDX, "lvType", _g_get_lvType); Utils.RegisterFunc(L, Utils.GETTER_IDX, "starType", _g_get_starType); Utils.RegisterFunc(L, Utils.GETTER_IDX, "defaultUnSelectlist", _g_get_defaultUnSelectlist); Utils.RegisterFunc(L, Utils.GETTER_IDX, "devourPlacelist", _g_get_devourPlacelist); Utils.RegisterFunc(L, Utils.GETTER_IDX, "MaxDevourEquipNum", _g_get_MaxDevourEquipNum); Utils.RegisterFunc(L, Utils.GETTER_IDX, "minDevourEquipNum", _g_get_minDevourEquipNum); Utils.RegisterFunc(L, Utils.GETTER_IDX, "decomposeLv", _g_get_decomposeLv); Utils.RegisterFunc(L, Utils.GETTER_IDX, "decomposeExp", _g_get_decomposeExp); Utils.RegisterFunc(L, Utils.GETTER_IDX, "decomposeProgress", _g_get_decomposeProgress); Utils.RegisterFunc(L, Utils.GETTER_IDX, "addDecomposeExp", _g_get_addDecomposeExp); Utils.RegisterFunc(L, Utils.GETTER_IDX, "minDecomposeNum", _g_get_minDecomposeNum); Utils.RegisterFunc(L, Utils.GETTER_IDX, "isAutoDecompose", _g_get_isAutoDecompose); Utils.RegisterFunc(L, Utils.GETTER_IDX, "recordAutoDecomNum", _g_get_recordAutoDecomNum); Utils.RegisterFunc(L, Utils.GETTER_IDX, "getItems", _g_get_getItems); Utils.RegisterFunc(L, Utils.GETTER_IDX, "decomposeAttrDict", _g_get_decomposeAttrDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "RoleEquipLocalSave", _g_get_RoleEquipLocalSave); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpointItemPack", _g_get_redpointItemPack); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpointSTAR", _g_get_redpointSTAR); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpointEquipDecom", _g_get_redpointEquipDecom); Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectDevourlist", _g_get_selectDevourlist); Utils.RegisterFunc(L, Utils.SETTER_IDX, "isPlayBetterEquipEffect", _s_set_isPlayBetterEquipEffect); Utils.RegisterFunc(L, Utils.SETTER_IDX, "isAutoDecompose", _s_set_isAutoDecompose); Utils.RegisterFunc(L, Utils.SETTER_IDX, "decomposeAttrDict", _s_set_decomposeAttrDict); Utils.RegisterFunc(L, Utils.SETTER_IDX, "RoleEquipLocalSave", _s_set_RoleEquipLocalSave); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpointItemPack", _s_set_redpointItemPack); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpointSTAR", _s_set_redpointSTAR); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpointEquipDecom", _s_set_redpointEquipDecom); Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectDevourlist", _s_set_selectDevourlist); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 5, 1, 1); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RecordKnapsackTitle", Snxxz.UI.PlayerPackModel.RecordKnapsackTitle); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ITEMPACK_REDKEY", Snxxz.UI.PlayerPackModel.ITEMPACK_REDKEY); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PLAYERSUMSTAR_REDKEY", Snxxz.UI.PlayerPackModel.PLAYERSUMSTAR_REDKEY); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipDecompose_RedKey", Snxxz.UI.PlayerPackModel.EquipDecompose_RedKey); Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "StrengthAttrShift_RecordKey", _g_get_StrengthAttrShift_RecordKey); Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "StrengthAttrShift_RecordKey", _s_set_StrengthAttrShift_RecordKey); 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.PlayerPackModel gen_ret = new Snxxz.UI.PlayerPackModel(); 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.PlayerPackModel constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Init(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)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.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)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.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)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.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)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.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)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_SetPlayerPackModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { H0725_tagRolePackRefreshEx _packInfo = (H0725_tagRolePackRefreshEx)translator.GetObject(L, 2, typeof(H0725_tagRolePackRefreshEx)); gen_to_be_invoked.SetPlayerPackModel( _packInfo ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetItemModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { H0704_tagRolePackRefresh _item = (H0704_tagRolePackRefresh)translator.GetObject(L, 2, typeof(H0704_tagRolePackRefresh)); gen_to_be_invoked.SetItemModel( _item ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetOpenGridCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { H0724_tagRolePackCanUseCount _useCount = (H0724_tagRolePackCanUseCount)translator.GetObject(L, 2, typeof(H0724_tagRolePackCanUseCount)); gen_to_be_invoked.SetOpenGridCount( _useCount ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RefreshItemCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { H0707_tagItemCountRefresh _refresh = (H0707_tagItemCountRefresh)translator.GetObject(L, 2, typeof(H0707_tagItemCountRefresh)); gen_to_be_invoked.RefreshItemCount( _refresh ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ClearPackModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { H0711_tagClearItemPack _clearPack = (H0711_tagClearItemPack)translator.GetObject(L, 2, typeof(H0711_tagClearItemPack)); gen_to_be_invoked.ClearPackModel( _clearPack ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ClearItemModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { H0709_tagClearItem _clearItem = (H0709_tagClearItem)translator.GetObject(L, 2, typeof(H0709_tagClearItem)); gen_to_be_invoked.ClearItemModel( _clearItem ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_PackResetOk(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { H0316_tagPackResetOK _packreset = (H0316_tagPackResetOK)translator.GetObject(L, 2, typeof(H0316_tagPackResetOK)); gen_to_be_invoked.PackResetOk( _packreset ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UseItemSuccess(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { H0706_tagUseItemSuccess _success = (H0706_tagUseItemSuccess)translator.GetObject(L, 2, typeof(H0706_tagUseItemSuccess)); gen_to_be_invoked.UseItemSuccess( _success ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetItemGUIDDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); gen_to_be_invoked.SetItemGUIDDict( _itemModel ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_DeleteItemDictByGUID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { PackType _type;translator.Get(L, 2, out _type); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.DeleteItemDictByGUID( _type, _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetItemUseCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { HA809_tagMCItemDayUseCntInfo _useCntInfo = (HA809_tagMCItemDayUseCntInfo)translator.GetObject(L, 2, typeof(HA809_tagMCItemDayUseCntInfo)); gen_to_be_invoked.SetItemUseCnt( _useCntInfo ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetItemSumUseCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { HA339_tagMCAttrFruitEatCntList _useCntInfo = (HA339_tagMCAttrFruitEatCntList)translator.GetObject(L, 2, typeof(HA339_tagMCAttrFruitEatCntList)); gen_to_be_invoked.SetItemSumUseCnt( _useCntInfo ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetPlayerEquipAttrActiveInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { HA317_tagMCAllEquipAttrActiveInfo _info = (HA317_tagMCAllEquipAttrActiveInfo)translator.GetObject(L, 2, typeof(HA317_tagMCAllEquipAttrActiveInfo)); gen_to_be_invoked.SetPlayerEquipAttrActiveInfo( _info ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendActiveAttrQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _type = LuaAPI.xlua_tointeger(L, 2); int _cnt = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SendActiveAttrQuest( _type, _cnt ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetActiveCntByType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _type = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetActiveCntByType( _type ); 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_GetAddAttrIdByStars(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _starsCount; System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetAddAttrIdByStars( out _starsCount ); translator.Push(L, gen_ret); LuaAPI.xlua_pushinteger(L, _starsCount); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ParseConfig(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.ParseConfig( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetRoleEquipPathId(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetRoleEquipPathId( _equipPlace ); 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_IsShowAddEquipByPlace(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.IsShowAddEquipByPlace( _equipPlace ); 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_CheckRoleEquipByPlace(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { RoleEquipType _equipType;translator.Get(L, 2, out _equipType); gen_to_be_invoked.CheckRoleEquipByPlace( _equipType ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetRoleEquipLocalSave(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); bool _isRedState = LuaAPI.lua_toboolean(L, 3); gen_to_be_invoked.SetRoleEquipLocalSave( _equipPlace, _isRedState ); return 0; } if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.SetRoleEquipLocalSave( _equipPlace ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.PlayerPackModel.SetRoleEquipLocalSave!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetSinglePackModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { PackType _type;translator.Get(L, 2, out _type); Snxxz.UI.SinglePackModel gen_ret = gen_to_be_invoked.GetSinglePackModel( _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_GetItemModelByGUID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { string _guid = LuaAPI.lua_tostring(L, 2); Snxxz.UI.ItemModel gen_ret = gen_to_be_invoked.GetItemModelByGUID( _guid ); 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_GetItemModelByIndex(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { PackType _type;translator.Get(L, 2, out _type); int _index = LuaAPI.xlua_tointeger(L, 3); Snxxz.UI.ItemModel gen_ret = gen_to_be_invoked.GetItemModelByIndex( _type, _index ); 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_GetItemGUIDByID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _itemId = LuaAPI.xlua_tointeger(L, 2); string gen_ret = gen_to_be_invoked.GetItemGUIDByID( _itemId ); 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_GetItemCountByID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { PackType _type;translator.Get(L, 2, out _type); int _id = LuaAPI.xlua_tointeger(L, 3); int gen_ret = gen_to_be_invoked.GetItemCountByID( _type, _id ); 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_CheckBagIsPutNewItem(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _itemId = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.CheckBagIsPutNewItem( _itemId ); 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_GetReaminGridCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { PackType _type;translator.Get(L, 2, out _type); int gen_ret = gen_to_be_invoked.GetReaminGridCount( _type ); 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_GetDayUseCntByID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _itemId = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetDayUseCntByID( _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_GetSumUseCntByID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _itemId = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetSumUseCntByID( _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_SetWashAttrPointModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { string _guid = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.SetWashAttrPointModel( _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetRoleEquipRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetRoleEquipRedpoint( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateRoleEquipRed(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.UpdateRoleEquipRed( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetPlayerAttrActiveRedPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetPlayerAttrActiveRedPoint( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_IsActiveStarAttr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { bool gen_ret = gen_to_be_invoked.IsActiveStarAttr( ); 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_IsActiveSTRAttr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { bool gen_ret = gen_to_be_invoked.IsActiveSTRAttr( ); 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_EquipDecomRedCtrl(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.EquipDecomRedCtrl( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetLookIndex(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { string _guid = LuaAPI.lua_tostring(L, 2); int _singleRowCount = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SetLookIndex( _guid, _singleRowCount ); return 0; } if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) { string _guid = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.SetLookIndex( _guid ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.PlayerPackModel.SetLookIndex!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RefreshBagInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.RefreshBagInfo( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetJumpToOneKeySell(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { UnityEngine.Transform _parent = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform)); gen_to_be_invoked.SetJumpToOneKeySell( _parent ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetSkillConfig(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _itemId = LuaAPI.xlua_tointeger(L, 2); TableConfig.SkillConfig gen_ret = gen_to_be_invoked.GetSkillConfig( _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_GetDungeonIDByDrugID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _drugID = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetDungeonIDByDrugID( _drugID ); 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_GetDrugIDListByDungeonID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _dungeonID = LuaAPI.xlua_tointeger(L, 2); int[] gen_ret = gen_to_be_invoked.GetDrugIDListByDungeonID( _dungeonID ); 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_IsReachUseLimit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { string _guid = LuaAPI.lua_tostring(L, 2); ulong _count; bool gen_ret = gen_to_be_invoked.IsReachUseLimit( _guid, out _count ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.lua_pushuint64(L, _count); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ContainPreciousItem(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List _itemModels = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); int _betterEquipCnt; int _preciousCnt; bool gen_ret = gen_to_be_invoked.ContainPreciousItem( _itemModels, out _betterEquipCnt, out _preciousCnt ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, _betterEquipCnt); LuaAPI.xlua_pushinteger(L, _preciousCnt); return 3; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ContainTwoStarEquip(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List _itemModels = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); int _twoStarEquipCnt; bool gen_ret = gen_to_be_invoked.ContainTwoStarEquip( _itemModels, out _twoStarEquipCnt ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, _twoStarEquipCnt); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetColorSelect(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.PlayerPackModel.EquipColorType _type;translator.Get(L, 2, out _type); gen_to_be_invoked.SetColorSelect( _type ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetLvSelect(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.PlayerPackModel.EquipLvType _type;translator.Get(L, 2, out _type); gen_to_be_invoked.SetLvSelect( _type ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetStarSelect(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.PlayerPackModel.EquipStarType _type;translator.Get(L, 2, out _type); gen_to_be_invoked.SetStarSelect( _type ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetDevourEquipPlace(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetDevourEquipPlace( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetDevourModellist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetDevourModellist( ); 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_CompareByColor(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _start = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); Snxxz.UI.ItemModel _next = (Snxxz.UI.ItemModel)translator.GetObject(L, 3, typeof(Snxxz.UI.ItemModel)); int gen_ret = gen_to_be_invoked.CompareByColor( _start, _next ); 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_GetCanDevourModellist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetCanDevourModellist( ); 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_IsCanDevour(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _model = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); bool gen_ret = gen_to_be_invoked.IsCanDevour( _model ); 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_IsMaxDecomLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _decomLv = LuaAPI.xlua_tointeger(L, 2); int _realLv; bool gen_ret = gen_to_be_invoked.IsMaxDecomLv( _decomLv, out _realLv ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, _realLv); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetSelectDevourList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.GetSelectDevourList( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RefreshGetNewItem(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _model = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); gen_to_be_invoked.RefreshGetNewItem( _model ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_AddSelectDevourModellist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _model = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); gen_to_be_invoked.AddSelectDevourModellist( _model ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CheckIsReachDevourCondi(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _model = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); bool gen_ret = gen_to_be_invoked.CheckIsReachDevourCondi( _model ); 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_RemoveSelectDevourModellist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _model = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); gen_to_be_invoked.RemoveSelectDevourModellist( _model ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetDecomAttrDictByLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _decomLv = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.Dictionary gen_ret = gen_to_be_invoked.GetDecomAttrDictByLv( _decomLv ); 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_IsReachMinDecomposeNum(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { bool gen_ret = gen_to_be_invoked.IsReachMinDecomposeNum( ); 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_SendEquipdevourQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SendEquipdevourQuest( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendEquipDevourRecordQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SendEquipDevourRecordQuest( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetServerDecomposeSet(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { HA31C_tagMCEquipDecomposeInfo _info = (HA31C_tagMCEquipDecomposeInfo)translator.GetObject(L, 2, typeof(HA31C_tagMCEquipDecomposeInfo)); gen_to_be_invoked.GetServerDecomposeSet( _info ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetShowMatInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.SetShowMatInfo( ); 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_GetDrugOrderByCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetDrugOrderByCnt( ); 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_CheckIsDrugById(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { int _itemId = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.CheckIsDrugById( _itemId ); 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_CompareByIsHave(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { TableConfig.AttrFruitConfig _start = (TableConfig.AttrFruitConfig)translator.GetObject(L, 2, typeof(TableConfig.AttrFruitConfig)); TableConfig.AttrFruitConfig _end = (TableConfig.AttrFruitConfig)translator.GetObject(L, 3, typeof(TableConfig.AttrFruitConfig)); int gen_ret = gen_to_be_invoked.CompareByIsHave( _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_IsHaveDrugUse(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { TableConfig.AttrFruitConfig _fruitConfig = (TableConfig.AttrFruitConfig)translator.GetObject(L, 2, typeof(TableConfig.AttrFruitConfig)); bool gen_ret = gen_to_be_invoked.IsHaveDrugUse( _fruitConfig ); 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_IsHaveDrugRecycle(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { TableConfig.AttrFruitConfig _fruitConfig = (TableConfig.AttrFruitConfig)translator.GetObject(L, 2, typeof(TableConfig.AttrFruitConfig)); bool gen_ret = gen_to_be_invoked.IsHaveDrugRecycle( _fruitConfig ); 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_IsReachMaxUseDrug(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { TableConfig.AttrFruitConfig _fruitConfig = (TableConfig.AttrFruitConfig)translator.GetObject(L, 2, typeof(TableConfig.AttrFruitConfig)); bool gen_ret = gen_to_be_invoked.IsReachMaxUseDrug( _fruitConfig ); 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_GetAlchemyProgress(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); { TableConfig.AlchemyConfig _alchemy = (TableConfig.AlchemyConfig)translator.GetObject(L, 2, typeof(TableConfig.AlchemyConfig)); float gen_ret = gen_to_be_invoked.GetAlchemyProgress( _alchemy ); LuaAPI.lua_pushnumber(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_DrugToDungeonDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.DrugToDungeonDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_DungeonToDrugDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.DungeonToDrugDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_makeDruglist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.makeDruglist); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_MaxBagGridCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.MaxBagGridCnt); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_InitBagGridCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.InitBagGridCnt); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_MaxDepotGridCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.MaxDepotGridCnt); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_InitDepotGridCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.InitDepotGridCnt); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_LocalSavePlaceArray(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.LocalSavePlaceArray); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_isPlayBetterEquipEffect(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isPlayBetterEquipEffect); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_showDropItem(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.showDropItem); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_fairyRedPointLvlimt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.fairyRedPointLvlimt); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_wingsRedpointLvlimt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.wingsRedpointLvlimt); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_fairyGetPathId(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.fairyGetPathId); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_wingsGetPathIdDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.wingsGetPathIdDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_lookLineIndex(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.lookLineIndex); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_lookItemGUID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.lookItemGUID); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_colorType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.colorType); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_lvType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.lvType); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_starType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.starType); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_defaultUnSelectlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.defaultUnSelectlist); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_devourPlacelist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.devourPlacelist); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_MaxDevourEquipNum(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.MaxDevourEquipNum); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_minDevourEquipNum(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.minDevourEquipNum); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_decomposeLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.decomposeLv); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_decomposeExp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.decomposeExp); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_decomposeProgress(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.decomposeProgress); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_addDecomposeExp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.addDecomposeExp); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_minDecomposeNum(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.minDecomposeNum); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_isAutoDecompose(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isAutoDecompose); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_recordAutoDecomNum(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.recordAutoDecomNum); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_getItems(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.getItems); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_decomposeAttrDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.decomposeAttrDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_StrengthAttrShift_RecordKey(RealStatePtr L) { try { LuaAPI.lua_pushstring(L, Snxxz.UI.PlayerPackModel.StrengthAttrShift_RecordKey); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_RoleEquipLocalSave(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.RoleEquipLocalSave); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redpointItemPack(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redpointItemPack); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redpointSTAR(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redpointSTAR); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redpointEquipDecom(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redpointEquipDecom); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_selectDevourlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.selectDevourlist); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_isPlayBetterEquipEffect(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.isPlayBetterEquipEffect = 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_isAutoDecompose(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.isAutoDecompose = 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_decomposeAttrDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.decomposeAttrDict = (System.Collections.Generic.Dictionary>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary>)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_StrengthAttrShift_RecordKey(RealStatePtr L) { try { Snxxz.UI.PlayerPackModel.StrengthAttrShift_RecordKey = 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_RoleEquipLocalSave(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.RoleEquipLocalSave = LuaAPI.lua_tostring(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_redpointItemPack(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redpointItemPack = (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_redpointSTAR(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redpointSTAR = (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_redpointEquipDecom(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redpointEquipDecom = (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_selectDevourlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.selectDevourlist = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshPackAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.RefreshPackAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshPackAct -= 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.PlayerPackModel.RefreshPackAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshItemCountAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.RefreshItemCountAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshItemCountAct -= 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.PlayerPackModel.RefreshItemCountAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_GridRefreshEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.GridRefreshEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.GridRefreshEvent -= 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.PlayerPackModel.GridRefreshEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_ItemCntAddAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.ItemCntAddAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.ItemCntAddAct -= 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.PlayerPackModel.ItemCntAddAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_ItemCntReduceAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.ItemCntReduceAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.ItemCntReduceAct -= 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.PlayerPackModel.ItemCntReduceAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_UseItemSuccessAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.UseItemSuccessAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.UseItemSuccessAct -= 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.PlayerPackModel.UseItemSuccessAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshItemDayUseCntAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.RefreshItemDayUseCntAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshItemDayUseCntAct -= 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.PlayerPackModel.RefreshItemDayUseCntAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshItemSumUseCntAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.RefreshItemSumUseCntAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshItemSumUseCntAct -= 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.PlayerPackModel.RefreshItemSumUseCntAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshActiveAttrAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate(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.RefreshActiveAttrAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshActiveAttrAct -= 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.PlayerPackModel.RefreshActiveAttrAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshAttrActiveAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.RefreshAttrActiveAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshAttrActiveAct -= 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.PlayerPackModel.RefreshAttrActiveAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_lookEquipEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate(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.lookEquipEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.lookEquipEvent -= 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.PlayerPackModel.lookEquipEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshBagEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate(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.RefreshBagEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshBagEvent -= 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.PlayerPackModel.RefreshBagEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_itemUseAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.itemUseAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.itemUseAct -= 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.PlayerPackModel.itemUseAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshColorSelectAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.RefreshColorSelectAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshColorSelectAct -= 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.PlayerPackModel.RefreshColorSelectAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshLvSelectAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.RefreshLvSelectAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshLvSelectAct -= 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.PlayerPackModel.RefreshLvSelectAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshStarSelectAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(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.RefreshStarSelectAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshStarSelectAct -= 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.PlayerPackModel.RefreshStarSelectAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshEquipDecomNumAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate(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.RefreshEquipDecomNumAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshEquipDecomNumAct -= 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.PlayerPackModel.RefreshEquipDecomNumAct!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshDecomAttrAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerPackModel gen_to_be_invoked = (Snxxz.UI.PlayerPackModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate(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.RefreshDecomAttrAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshDecomAttrAct -= 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.PlayerPackModel.RefreshDecomAttrAct!"); return 0; } } }