#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 SnxxzUIItemTipsModelWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.ItemTipsModel); Utils.BeginObjectRegister(type, L, translator, 0, 37, 33, 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, "UnInit", _m_UnInit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemTipsModel", _m_SetItemTipsModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCurrentAttrData", _m_SetCurrentAttrData); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCompareAttrData", _m_SetCompareAttrData); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowUICtrl", _m_ShowUICtrl); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetItemTipsTitle", _m_GetItemTipsTitle); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipJobName", _m_GetEquipJobName); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetBagTipsBtn", _m_SetBagTipsBtn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDepotTipsBtn", _m_SetDepotTipsBtn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDogzItemBtn", _m_SetDogzItemBtn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDogzEquipBtn", _m_SetDogzEquipBtn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDepotBagTipsBtn", _m_SetDepotBagTipsBtn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPutOnTipsBtn", _m_SetPutOnTipsBtn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWaysList", _m_GetWaysList); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBasicAttr", _m_GetBasicAttr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetLegendAttr", _m_GetLegendAttr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipLegendAttrCntPreview", _m_GetEquipLegendAttrCntPreview); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzLegendAttrCntPreview", _m_GetDogzLegendAttrCntPreview); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWingsLegendAttrCntPreview", _m_GetWingsLegendAttrCntPreview); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreviewLegendAttr", _m_GetPreviewLegendAttr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWingsRefineMatStr", _m_GetWingsRefineMatStr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWashAttr", _m_GetWashAttr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetExhaustedAtrr", _m_GetExhaustedAtrr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipExhaustedAtrr", _m_GetEquipExhaustedAtrr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetProValueTypeStr", _m_GetProValueTypeStr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemEffectDict", _m_SetItemEffectDict); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCurTips", _m_SetCurTips); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCompareTips", _m_SetCompareTips); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetTipsPos", _m_SetTipsPos); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCommonTipPos", _m_SetCommonTipPos); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetExtendGirdModel", _m_SetExtendGirdModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAddExpValue", _m_GetAddExpValue); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPetSkillDict", _m_GetPetSkillDict); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMountSkillDict", _m_GetMountSkillDict); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPetAttrStr", _m_SetPetAttrStr); Utils.RegisterFunc(L, Utils.GETTER_IDX, "equipLegendAttrTypeDict", _g_get_equipLegendAttrTypeDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsLegendAttrColorDict", _g_get_wingsLegendAttrColorDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "legendAttrCntPreviewDict", _g_get_legendAttrCntPreviewDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "legendAttrIDPreviewDict", _g_get_legendAttrIDPreviewDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "legendAttrColorValuePreviewDict", _g_get_legendAttrColorValuePreviewDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "legendAttrLvValuePreviewDict", _g_get_legendAttrLvValuePreviewDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsLegendAttrCntPreviewDict", _g_get_wingsLegendAttrCntPreviewDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsLegendAttrValuePreviewDict", _g_get_wingsLegendAttrValuePreviewDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzLegendAttrIDPreviewDict", _g_get_dogzLegendAttrIDPreviewDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzLegendAttrColorValuePreviewDict", _g_get_dogzLegendAttrColorValuePreviewDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzLegendAttrCntPreviewDict", _g_get_dogzLegendAttrCntPreviewDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzLegendAttrTypeDict", _g_get_dogzLegendAttrTypeDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardDesDict", _g_get_guardDesDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "unlockPetDict", _g_get_unlockPetDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "unlockMountDict", _g_get_unlockMountDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "gemOpenLvs", _g_get_gemOpenLvs); Utils.RegisterFunc(L, Utils.GETTER_IDX, "gemOpenVipLv", _g_get_gemOpenVipLv); Utils.RegisterFunc(L, Utils.GETTER_IDX, "gemType1s", _g_get_gemType1s); Utils.RegisterFunc(L, Utils.GETTER_IDX, "gemType2s", _g_get_gemType2s); Utils.RegisterFunc(L, Utils.GETTER_IDX, "equipMidHeights", _g_get_equipMidHeights); Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsMidHeights", _g_get_wingsMidHeights); Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpAndUseTypes", _g_get_jumpAndUseTypes); Utils.RegisterFunc(L, Utils.GETTER_IDX, "equipSuitStar", _g_get_equipSuitStar); Utils.RegisterFunc(L, Utils.GETTER_IDX, "ItemRenewalIds", _g_get_ItemRenewalIds); Utils.RegisterFunc(L, Utils.GETTER_IDX, "tryPutOnEquipIds", _g_get_tryPutOnEquipIds); Utils.RegisterFunc(L, Utils.GETTER_IDX, "randomRuneIds", _g_get_randomRuneIds); Utils.RegisterFunc(L, Utils.GETTER_IDX, "curAttrData", _g_get_curAttrData); Utils.RegisterFunc(L, Utils.GETTER_IDX, "compareAttrData", _g_get_compareAttrData); Utils.RegisterFunc(L, Utils.GETTER_IDX, "OpenCount", _g_get_OpenCount); Utils.RegisterFunc(L, Utils.GETTER_IDX, "packType", _g_get_packType); Utils.RegisterFunc(L, Utils.GETTER_IDX, "Index", _g_get_Index); Utils.RegisterFunc(L, Utils.GETTER_IDX, "expValueFormula", _g_get_expValueFormula); Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardAutoDrops", _g_get_guardAutoDrops); Utils.RegisterFunc(L, Utils.SETTER_IDX, "expValueFormula", _s_set_expValueFormula); Utils.RegisterFunc(L, Utils.SETTER_IDX, "guardAutoDrops", _s_set_guardAutoDrops); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0); 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.ItemTipsModel gen_ret = new Snxxz.UI.ItemTipsModel(); 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.ItemTipsModel constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Init(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)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.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)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_UnInit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)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_SetItemTipsModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) { Snxxz.UI.ItemAttrData _itemAttrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); bool _isShowUINow = LuaAPI.lua_toboolean(L, 3); gen_to_be_invoked.SetItemTipsModel( _itemAttrData, _isShowUINow ); return 0; } if(gen_param_count == 2&& translator.Assignable(L, 2)) { Snxxz.UI.ItemAttrData _itemAttrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); gen_to_be_invoked.SetItemTipsModel( _itemAttrData ); return 0; } if(gen_param_count == 6&& translator.Assignable(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)&& translator.Assignable(L, 6)) { PackType _type;translator.Get(L, 2, out _type); string _guid = LuaAPI.lua_tostring(L, 3); bool _isShowUINow = LuaAPI.lua_toboolean(L, 4); bool _isCompare = LuaAPI.lua_toboolean(L, 5); ItemTipChildType _childType;translator.Get(L, 6, out _childType); gen_to_be_invoked.SetItemTipsModel( _type, _guid, _isShowUINow, _isCompare, _childType ); return 0; } if(gen_param_count == 5&& translator.Assignable(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)) { PackType _type;translator.Get(L, 2, out _type); string _guid = LuaAPI.lua_tostring(L, 3); bool _isShowUINow = LuaAPI.lua_toboolean(L, 4); bool _isCompare = LuaAPI.lua_toboolean(L, 5); gen_to_be_invoked.SetItemTipsModel( _type, _guid, _isShowUINow, _isCompare ); return 0; } if(gen_param_count == 4&& translator.Assignable(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) { PackType _type;translator.Get(L, 2, out _type); string _guid = LuaAPI.lua_tostring(L, 3); bool _isShowUINow = LuaAPI.lua_toboolean(L, 4); gen_to_be_invoked.SetItemTipsModel( _type, _guid, _isShowUINow ); return 0; } if(gen_param_count == 3&& translator.Assignable(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { PackType _type;translator.Get(L, 2, out _type); string _guid = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.SetItemTipsModel( _type, _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.ItemTipsModel.SetItemTipsModel!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetCurrentAttrData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); bool _isCompare = LuaAPI.lua_toboolean(L, 3); gen_to_be_invoked.SetCurrentAttrData( _itemModel, _isCompare ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetCompareAttrData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); gen_to_be_invoked.SetCompareAttrData( _itemModel ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ShowUICtrl(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.ShowUICtrl( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetItemTipsTitle(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetItemTipsTitle( _attrData ); 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_GetEquipJobName(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetEquipJobName( _attrData ); 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_SetBagTipsBtn(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); gen_to_be_invoked.SetBagTipsBtn( _attrData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetDepotTipsBtn(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); gen_to_be_invoked.SetDepotTipsBtn( _attrData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetDogzItemBtn(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); gen_to_be_invoked.SetDogzItemBtn( _attrData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetDogzEquipBtn(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); gen_to_be_invoked.SetDogzEquipBtn( _attrData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetDepotBagTipsBtn(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); gen_to_be_invoked.SetDepotBagTipsBtn( _attrData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetPutOnTipsBtn(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); gen_to_be_invoked.SetPutOnTipsBtn( _attrData ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetWaysList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetWaysList( _attrData ); 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_GetBasicAttr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetBasicAttr( _attrData ); 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_GetLegendAttr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 2&& translator.Assignable(L, 2)) { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetLegendAttr( _attrData ); LuaAPI.lua_pushstring(L, gen_ret); return 1; } if(gen_param_count == 4&& translator.Assignable>(L, 2)&& translator.Assignable>(L, 3)&& translator.Assignable(L, 4)) { System.Collections.Generic.List _idlist = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); System.Collections.Generic.List _valuelist = (System.Collections.Generic.List)translator.GetObject(L, 3, typeof(System.Collections.Generic.List)); TableConfig.ItemConfig _itemConfig = (TableConfig.ItemConfig)translator.GetObject(L, 4, typeof(TableConfig.ItemConfig)); string gen_ret = gen_to_be_invoked.GetLegendAttr( _idlist, _valuelist, _itemConfig ); LuaAPI.lua_pushstring(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.ItemTipsModel.GetLegendAttr!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetEquipLegendAttrCntPreview(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetEquipLegendAttrCntPreview( _attrData ); 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_GetDogzLegendAttrCntPreview(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetDogzLegendAttrCntPreview( _attrData ); 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_GetWingsLegendAttrCntPreview(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetWingsLegendAttrCntPreview( _attrData ); 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_GetPreviewLegendAttr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List _idlist = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); System.Collections.Generic.List _valuelist = (System.Collections.Generic.List)translator.GetObject(L, 3, typeof(System.Collections.Generic.List)); TableConfig.ItemConfig _itemConfig = (TableConfig.ItemConfig)translator.GetObject(L, 4, typeof(TableConfig.ItemConfig)); bool _isCustom = LuaAPI.lua_toboolean(L, 5); string gen_ret = gen_to_be_invoked.GetPreviewLegendAttr( _idlist, _valuelist, _itemConfig, _isCustom ); 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_GetWingsRefineMatStr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetWingsRefineMatStr( _attrData ); 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_GetWashAttr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetWashAttr( _attrData ); 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_GetExhaustedAtrr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData)); string gen_ret = gen_to_be_invoked.GetExhaustedAtrr( _attrData ); 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_GetEquipExhaustedAtrr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List _idlist = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); System.Collections.Generic.List _valuelist = (System.Collections.Generic.List)translator.GetObject(L, 3, typeof(System.Collections.Generic.List)); string gen_ret = gen_to_be_invoked.GetEquipExhaustedAtrr( _idlist, _valuelist ); 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_GetProValueTypeStr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { TableConfig.PlayerPropertyConfig _playerproModel = (TableConfig.PlayerPropertyConfig)translator.GetObject(L, 2, typeof(TableConfig.PlayerPropertyConfig)); int _value = LuaAPI.xlua_tointeger(L, 3); string gen_ret = gen_to_be_invoked.GetProValueTypeStr( _playerproModel, _value ); 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_SetItemEffectDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { TableConfig.ItemConfig _config = (TableConfig.ItemConfig)translator.GetObject(L, 2, typeof(TableConfig.ItemConfig)); System.Collections.Generic.Dictionary gen_ret = gen_to_be_invoked.SetItemEffectDict( _config ); 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_SetCurTips(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform)); gen_to_be_invoked.SetCurTips( _rect ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetCompareTips(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform)); gen_to_be_invoked.SetCompareTips( _rect ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetTipsPos(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetTipsPos( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetCommonTipPos(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform)); gen_to_be_invoked.SetCommonTipPos( _rect ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetExtendGirdModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable(L, 4)) { int _openCount = LuaAPI.xlua_tointeger(L, 2); int _index = LuaAPI.xlua_tointeger(L, 3); PackType _type;translator.Get(L, 4, out _type); gen_to_be_invoked.SetExtendGirdModel( _openCount, _index, _type ); return 0; } if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { int _openCount = LuaAPI.xlua_tointeger(L, 2); int _index = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SetExtendGirdModel( _openCount, _index ); return 0; } if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { int _openCount = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.SetExtendGirdModel( _openCount ); return 0; } if(gen_param_count == 1) { gen_to_be_invoked.SetExtendGirdModel( ); 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.ItemTipsModel.SetExtendGirdModel!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetAddExpValue(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { int _timeValue = LuaAPI.xlua_tointeger(L, 2); int _maxExpLv = LuaAPI.xlua_tointeger(L, 3); ulong gen_ret = gen_to_be_invoked.GetAddExpValue( _timeValue, _maxExpLv ); LuaAPI.lua_pushuint64(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_GetPetSkillDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { int _unlockId = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.Dictionary gen_ret = gen_to_be_invoked.GetPetSkillDict( _unlockId ); 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_GetMountSkillDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); { int _unlockId = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.Dictionary> gen_ret = gen_to_be_invoked.GetMountSkillDict( _unlockId ); 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_SetPetAttrStr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)) { int _attrId = LuaAPI.xlua_tointeger(L, 2); int _attrValue = LuaAPI.xlua_tointeger(L, 3); string _attrName; string _attrValueStr; string _contanctStr = LuaAPI.lua_tostring(L, 4); gen_to_be_invoked.SetPetAttrStr( _attrId, _attrValue, out _attrName, out _attrValueStr, _contanctStr ); LuaAPI.lua_pushstring(L, _attrName); LuaAPI.lua_pushstring(L, _attrValueStr); return 2; } if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { int _attrId = LuaAPI.xlua_tointeger(L, 2); int _attrValue = LuaAPI.xlua_tointeger(L, 3); string _attrName; string _attrValueStr; gen_to_be_invoked.SetPetAttrStr( _attrId, _attrValue, out _attrName, out _attrValueStr ); LuaAPI.lua_pushstring(L, _attrName); LuaAPI.lua_pushstring(L, _attrValueStr); 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.ItemTipsModel.SetPetAttrStr!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_equipLegendAttrTypeDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.equipLegendAttrTypeDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_wingsLegendAttrColorDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.wingsLegendAttrColorDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_legendAttrCntPreviewDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.legendAttrCntPreviewDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_legendAttrIDPreviewDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.legendAttrIDPreviewDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_legendAttrColorValuePreviewDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.legendAttrColorValuePreviewDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_legendAttrLvValuePreviewDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.legendAttrLvValuePreviewDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_wingsLegendAttrCntPreviewDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.wingsLegendAttrCntPreviewDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_wingsLegendAttrValuePreviewDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.wingsLegendAttrValuePreviewDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_dogzLegendAttrIDPreviewDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.dogzLegendAttrIDPreviewDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_dogzLegendAttrColorValuePreviewDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.dogzLegendAttrColorValuePreviewDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_dogzLegendAttrCntPreviewDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.dogzLegendAttrCntPreviewDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_dogzLegendAttrTypeDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.dogzLegendAttrTypeDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_guardDesDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.guardDesDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_unlockPetDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.unlockPetDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_unlockMountDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.unlockMountDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_gemOpenLvs(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.gemOpenLvs); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_gemOpenVipLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.gemOpenVipLv); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_gemType1s(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.gemType1s); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_gemType2s(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.gemType2s); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_equipMidHeights(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.equipMidHeights); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_wingsMidHeights(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.wingsMidHeights); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_jumpAndUseTypes(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.jumpAndUseTypes); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_equipSuitStar(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.equipSuitStar); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_ItemRenewalIds(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.ItemRenewalIds); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_tryPutOnEquipIds(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.tryPutOnEquipIds); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_randomRuneIds(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.randomRuneIds); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_curAttrData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.curAttrData); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_compareAttrData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.compareAttrData); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_OpenCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.OpenCount); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_packType(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.packType); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_Index(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Index); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_expValueFormula(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.expValueFormula); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_guardAutoDrops(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.guardAutoDrops); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_expValueFormula(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.expValueFormula = 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_guardAutoDrops(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.guardAutoDrops = (int[])translator.GetObject(L, 2, typeof(int[])); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } } }