| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.FairyGrabBossModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 31, 16, 3); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 31, 18, 3); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "noticeShowPet", _g_get_noticeShowPet); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "noticeShowHorse", _g_get_noticeShowHorse); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "cacheGotoBossId", _g_get_cacheGotoBossId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "reduceInjuryBuffId", _g_get_reduceInjuryBuffId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpCoolDown", _g_get_helpCoolDown); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOpen", _g_get_IsOpen); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAdvance", _g_get_IsAdvance); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "priorityOpen", _g_get_priorityOpen); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "notified", _g_get_notified); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyGrabBossHelps", _g_get_fairyGrabBossHelps); |
| | | |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectBoss", _s_set_selectBoss); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_reduceInjuryBuffId(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.reduceInjuryBuffId); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_helpCoolDown(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_notified(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.notified); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_fairyGrabBossHelps(RealStatePtr L) |
| | | { |
| | | try { |