| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.TalentModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 19, 7, 3); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 20, 7, 3); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetTalents", _m_TryGetTalents); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetTalent", _m_TryGetTalent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTalentTypePoint", _m_GetTalentTypePoint); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAllTalentPoint", _m_GetAllTalentPoint); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSeriesPoint", _m_GetSeriesPoint); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SatisfyLevelUp", _m_SatisfyLevelUp); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "ProcessLevelUpError", _m_ProcessLevelUpError); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetAllTalentPoint(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.TalentModel gen_to_be_invoked = (Snxxz.UI.TalentModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | int gen_ret = gen_to_be_invoked.GetAllTalentPoint( ); |
| | | 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_GetSeriesPoint(RealStatePtr L) |
| | | { |
| | | try { |