| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.ItemTipsModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 56, 30, 1); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 55, 30, 1); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | 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, "GetExhaustedMaxLv", _m_GetExhaustedMaxLv); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetProValueTypeStr", _m_GetProValueTypeStr); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemEffectDict", _m_SetItemEffectDict); |
| | |
| | | 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<int> _idlist = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>)); |
| | | System.Collections.Generic.List<int> _valuelist = (System.Collections.Generic.List<int>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<int>)); |
| | | |
| | | string gen_ret = gen_to_be_invoked.GetEquipExhaustedAtrr( _idlist, _valuelist ); |
| | | LuaAPI.lua_pushstring(L, gen_ret); |
| | | |
| | | |