| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(WindowJumpMgr); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 4, 4, 1); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 5, 5, 1); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSearchData", _m_GetSearchData); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreAllOpenWin", _m_GetPreAllOpenWin); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "WindowJumpTo", _m_WindowJumpTo); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GotoKylinDungeon", _m_GotoKylinDungeon); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearJumpData", _m_ClearJumpData); |
| | | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsJumpState", _g_get_IsJumpState); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "windowSearchDataDict", _g_get_windowSearchDataDict); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsJumpState", _g_get_IsJumpState); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpPhase", _g_get_jumpPhase); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpType", _g_get_jumpType); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpWinNameDict", _g_get_jumpWinNameDict); |
| | |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetSearchData(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | WindowJumpMgr gen_to_be_invoked = (WindowJumpMgr)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _id = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | WindowJumpMgr.WindowSearchData gen_ret = gen_to_be_invoked.GetSearchData( _id ); |
| | | translator.Push(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_GetPreAllOpenWin(RealStatePtr L) |
| | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_windowSearchDataDict(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | WindowJumpMgr gen_to_be_invoked = (WindowJumpMgr)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.windowSearchDataDict); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_IsJumpState(RealStatePtr L) |
| | | { |
| | | try { |