#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 SnxxzUIPlayerSuitModelWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.PlayerSuitModel); Utils.BeginObjectRegister(type, L, translator, 0, 41, 8, 2); 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, "SetJumpModel", _m_SetJumpModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipOrderlist", _m_GetEquipOrderlist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerSuitModel", _m_GetServerSuitModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendMakeSuit", _m_SendMakeSuit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendSplitSuit", _m_SendSplitSuit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetActivateSuitModel", _m_GetActivateSuitModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSingleSuitAttr", _m_GetSingleSuitAttr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetActiveSuitAttr", _m_GetActiveSuitAttr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetActiveSuitAttr", _m_SetActiveSuitAttr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsReachMax", _m_IsReachMax); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsNeedUpgradEquipLv", _m_IsNeedUpgradEquipLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsFirstEquipMaker", _m_IsFirstEquipMaker); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetNeedConditions", _m_GetNeedConditions); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerSuitLv", _m_GetServerSuitLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerSuitModelByPlace", _m_GetServerSuitModelByPlace); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerSuitCntByPlace", _m_GetServerSuitCntByPlace); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsMakerSuit", _m_IsMakerSuit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSameSuitCnt", _m_GetSameSuitCnt); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSameSuitCntByType", _m_GetSameSuitCntByType); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetGroupType", _m_GetGroupType); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipPlaceByGroupType", _m_GetEquipPlaceByGroupType); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipJob", _m_GetEquipJob); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsUpgradSuitLv", _m_IsUpgradSuitLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsPerfectGetSuitLv", _m_IsPerfectGetSuitLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetReplaceSuitModel", _m_SetReplaceSuitModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSuitCellRedPointlist", _m_SetSuitCellRedPointlist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckRedPointCondition", _m_CheckRedPointCondition); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckTypeBtnRedPointCondition", _m_CheckTypeBtnRedPointCondition); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareSuitLV", _m_CompareSuitLV); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsReachSuitActive", _m_IsReachSuitActive); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJumpToModel", _m_SetJumpToModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearJumpModel", _m_ClearJumpModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMakerEquipPlace", _m_GetMakerEquipPlace); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsEnoughSuitMat", _m_IsEnoughSuitMat); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareBySuitLv", _m_CompareBySuitLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshSuitModelAct", _e_RefreshSuitModelAct); Utils.RegisterFunc(L, Utils.GETTER_IDX, "suitPartlist", _g_get_suitPartlist); Utils.RegisterFunc(L, Utils.GETTER_IDX, "activateAttrDict", _g_get_activateAttrDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "suitCellRedPointDict", _g_get_suitCellRedPointDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToSuitType", _g_get_jumpToSuitType); Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToGroupType", _g_get_jumpToGroupType); Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToEquipPlace", _g_get_jumpToEquipPlace); Utils.RegisterFunc(L, Utils.GETTER_IDX, "suitModelDict", _g_get_suitModelDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "typeBtnRedPoint", _g_get_typeBtnRedPoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "suitModelDict", _s_set_suitModelDict); Utils.RegisterFunc(L, Utils.SETTER_IDX, "typeBtnRedPoint", _s_set_typeBtnRedPoint); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SUITTYPEBTNREDPOINT_KEY", Snxxz.UI.PlayerSuitModel.SUITTYPEBTNREDPOINT_KEY); 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.PlayerSuitModel gen_ret = new Snxxz.UI.PlayerSuitModel(); 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.PlayerSuitModel constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Init(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)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.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)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.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)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.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)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_SetJumpModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _suitType = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.SetJumpModel( _suitType ); 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.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)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_GetEquipOrderlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.SuitType _type;translator.Get(L, 2, out _type); System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetEquipOrderlist( _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_GetServerSuitModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { HA309_tagMCEquipPartSuiteLVInfo _info = (HA309_tagMCEquipPartSuiteLVInfo)translator.GetObject(L, 2, typeof(HA309_tagMCEquipPartSuiteLVInfo)); gen_to_be_invoked.GetServerSuitModel( _info ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendMakeSuit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _suitType = LuaAPI.xlua_tointeger(L, 2); int _equipPlace = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SendMakeSuit( _suitType, _equipPlace ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendSplitSuit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); Snxxz.UI.SuitType _suitType;translator.Get(L, 3, out _suitType); gen_to_be_invoked.SendSplitSuit( _equipPlace, _suitType ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetActivateSuitModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.GetActivateSuitModel( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetSingleSuitAttr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { string _suitID = LuaAPI.lua_tostring(L, 2); Snxxz.UI.ActivateSuitData gen_ret = gen_to_be_invoked.GetSingleSuitAttr( _suitID ); 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_GetActiveSuitAttr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.Dictionary gen_ret = gen_to_be_invoked.GetActiveSuitAttr( ); 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_SetActiveSuitAttr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int[] _attrIds = (int[])translator.GetObject(L, 2, typeof(int[])); int[] _attrValues = (int[])translator.GetObject(L, 3, typeof(int[])); gen_to_be_invoked.SetActiveSuitAttr( _attrIds, _attrValues ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_IsReachMax(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); int _suitType = LuaAPI.xlua_tointeger(L, 3); int _suitLv = LuaAPI.xlua_tointeger(L, 4); bool gen_ret = gen_to_be_invoked.IsReachMax( _equipPlace, _suitType, _suitLv ); 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_IsNeedUpgradEquipLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); int _suitType = LuaAPI.xlua_tointeger(L, 3); bool gen_ret = gen_to_be_invoked.IsNeedUpgradEquipLv( _equipPlace, _suitType ); 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_IsFirstEquipMaker(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { bool gen_ret = gen_to_be_invoked.IsFirstEquipMaker( ); 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_GetNeedConditions(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _suitType = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetNeedConditions( _suitType ); 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_GetServerSuitLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); int _suitType = LuaAPI.xlua_tointeger(L, 3); int gen_ret = gen_to_be_invoked.GetServerSuitLv( _equipPlace, _suitType ); 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_GetServerSuitModelByPlace(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.Dictionary gen_ret = gen_to_be_invoked.GetServerSuitModelByPlace( _equipPlace ); 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_GetServerSuitCntByPlace(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.Dictionary gen_ret = gen_to_be_invoked.GetServerSuitCntByPlace( _equipPlace ); 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_IsMakerSuit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType); int _itemColor = LuaAPI.xlua_tointeger(L, 3); int _starLv = LuaAPI.xlua_tointeger(L, 4); bool gen_ret = gen_to_be_invoked.IsMakerSuit( _suitType, _itemColor, _starLv ); 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_GetSameSuitCnt(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 5&& translator.Assignable(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) { Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType); int _equipPlace = LuaAPI.xlua_tointeger(L, 3); int _suitLv = LuaAPI.xlua_tointeger(L, 4); System.Collections.Generic.List _equipPlacelist; int _job = LuaAPI.xlua_tointeger(L, 5); int gen_ret = gen_to_be_invoked.GetSameSuitCnt( _suitType, _equipPlace, _suitLv, out _equipPlacelist, _job ); LuaAPI.xlua_pushinteger(L, gen_ret); translator.Push(L, _equipPlacelist); return 2; } if(gen_param_count == 4&& translator.Assignable(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) { Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType); int _equipPlace = LuaAPI.xlua_tointeger(L, 3); int _suitLv = LuaAPI.xlua_tointeger(L, 4); System.Collections.Generic.List _equipPlacelist; int gen_ret = gen_to_be_invoked.GetSameSuitCnt( _suitType, _equipPlace, _suitLv, out _equipPlacelist ); LuaAPI.xlua_pushinteger(L, gen_ret); translator.Push(L, _equipPlacelist); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.PlayerSuitModel.GetSameSuitCnt!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetSameSuitCntByType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType); int gen_ret = gen_to_be_invoked.GetSameSuitCntByType( _suitType ); 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_GetGroupType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetGroupType( _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_GetEquipPlaceByGroupType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _groupType = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetEquipPlaceByGroupType( _groupType ); 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_GetEquipJob(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _itemId = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetEquipJob( _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_IsUpgradSuitLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _equipPlace = LuaAPI.xlua_tointeger(L, 2); int _suitType = LuaAPI.xlua_tointeger(L, 3); int _suitlv = LuaAPI.xlua_tointeger(L, 4); bool gen_ret = gen_to_be_invoked.IsUpgradSuitLv( _equipPlace, _suitType, _suitlv ); 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_IsPerfectGetSuitLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _itemId = LuaAPI.xlua_tointeger(L, 2); int _equipPlace = LuaAPI.xlua_tointeger(L, 3); bool gen_ret = gen_to_be_invoked.IsPerfectGetSuitLv( _itemId, _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_SetReplaceSuitModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _itemId = LuaAPI.xlua_tointeger(L, 2); int _equipPlace = LuaAPI.xlua_tointeger(L, 3); System.Collections.Generic.Dictionary gen_ret = gen_to_be_invoked.SetReplaceSuitModel( _itemId, _equipPlace ); 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_SetSuitCellRedPointlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetSuitCellRedPointlist( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CheckRedPointCondition(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _equipPlace; gen_to_be_invoked.CheckRedPointCondition( out _equipPlace ); LuaAPI.xlua_pushinteger(L, _equipPlace); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CheckTypeBtnRedPointCondition(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.CheckTypeBtnRedPointCondition( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CompareSuitLV(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _startPlace = LuaAPI.xlua_tointeger(L, 2); int _endPlace = LuaAPI.xlua_tointeger(L, 3); int gen_ret = gen_to_be_invoked.CompareSuitLV( _startPlace, _endPlace ); 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_IsReachSuitActive(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType); System.Collections.Generic.List _partlist = (System.Collections.Generic.List)translator.GetObject(L, 3, typeof(System.Collections.Generic.List)); int _equipPlace; bool gen_ret = gen_to_be_invoked.IsReachSuitActive( _suitType, _partlist, out _equipPlace ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, _equipPlace); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetJumpToModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType); int _groupType = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SetJumpToModel( _suitType, _groupType ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ClearJumpModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.ClearJumpModel( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetMakerEquipPlace(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.GetMakerEquipPlace( ); 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_IsEnoughSuitMat(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _suitTye = LuaAPI.xlua_tointeger(L, 2); int _equipPlace = LuaAPI.xlua_tointeger(L, 3); int _suitLv = LuaAPI.xlua_tointeger(L, 4); int _itemId = LuaAPI.xlua_tointeger(L, 5); bool gen_ret = gen_to_be_invoked.IsEnoughSuitMat( _suitTye, _equipPlace, _suitLv, _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_CompareBySuitLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); { int _starPlace = LuaAPI.xlua_tointeger(L, 2); int _endPlace = LuaAPI.xlua_tointeger(L, 3); int gen_ret = gen_to_be_invoked.CompareBySuitLv( _starPlace, _endPlace ); LuaAPI.xlua_pushinteger(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_suitPartlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.suitPartlist); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_activateAttrDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.activateAttrDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_suitCellRedPointDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.suitCellRedPointDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_jumpToSuitType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.jumpToSuitType); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_jumpToGroupType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.jumpToGroupType); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_jumpToEquipPlace(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.jumpToEquipPlace); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_suitModelDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.suitModelDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_typeBtnRedPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.typeBtnRedPoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_suitModelDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.suitModelDict = (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_typeBtnRedPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.typeBtnRedPoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_RefreshSuitModelAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)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.RefreshSuitModelAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshSuitModelAct -= 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.PlayerSuitModel.RefreshSuitModelAct!"); return 0; } } }