| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "freePoint", _g_get_freePoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "cacheFreePoint", _g_get_cacheFreePoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxQuality", _g_get_maxQuality); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpointRequirePoint", _g_get_redpointRequirePoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "freeResetLevel", _g_get_freeResetLevel); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "resetCostItemId", _g_get_resetCostItemId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiRootGetWays", _g_get_reikiRootGetWays); |
| | |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.maxQuality); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_redpointRequirePoint(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.redpointRequirePoint); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |