| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.ReikiRootModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 22, 17, 8); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 23, 19, 10); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootFreePoint", _m_GetReikiRootFreePoint); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTotalWashPoint", _m_GetTotalWashPoint); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootTotalPoint", _m_GetReikiRootTotalPoint); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootTotalPointWithFree", _m_GetReikiRootTotalPointWithFree); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootRecommendPoint", _m_GetReikiRootRecommendPoint); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQualityPoint", _m_GetQualityPoint); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootProperty", _m_GetReikiRootProperty); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "resetReikiRemind", _g_get_resetReikiRemind); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "resetReikiLimitLevel", _g_get_resetReikiLimitLevel); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectReikiRoot", _g_get_selectReikiRoot); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "openFromTreasureSkill", _g_get_openFromTreasureSkill); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiPointPromoteSymbol", _g_get_reikiPointPromoteSymbol); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiPointAutoAddLevel", _g_get_reikiPointAutoAddLevel); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "lastReikiRootPoints", _g_get_lastReikiRootPoints); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "afterReikiRootPoints", _g_get_afterReikiRootPoints); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiRoots", _g_get_reikiRoots); |
| | |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "resetReikiRootRecord", _s_set_resetReikiRootRecord); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "resetReikiRemind", _s_set_resetReikiRemind); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectReikiRoot", _s_set_selectReikiRoot); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "openFromTreasureSkill", _s_set_openFromTreasureSkill); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "reikiPointPromoteSymbol", _s_set_reikiPointPromoteSymbol); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "lastReikiRootPoints", _s_set_lastReikiRootPoints); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "afterReikiRootPoints", _s_set_afterReikiRootPoints); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "reikiRoots", _s_set_reikiRoots); |
| | |
| | | { |
| | | |
| | | int gen_ret = gen_to_be_invoked.GetReikiRootTotalPoint( ); |
| | | 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_GetReikiRootTotalPointWithFree(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | int gen_ret = gen_to_be_invoked.GetReikiRootTotalPointWithFree( ); |
| | | LuaAPI.xlua_pushinteger(L, gen_ret); |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_openFromTreasureSkill(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.openFromTreasureSkill); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_reikiPointPromoteSymbol(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.reikiPointPromoteSymbol); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_reikiPointAutoAddLevel(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.reikiPointAutoAddLevel); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_lastReikiRootPoints(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _s_set_openFromTreasureSkill(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | gen_to_be_invoked.openFromTreasureSkill = 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_reikiPointPromoteSymbol(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | gen_to_be_invoked.reikiPointPromoteSymbol = 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_lastReikiRootPoints(RealStatePtr L) |
| | | { |
| | | try { |