| 2561 | assert(false); |
| 2562 | } |
| 2563 | void MapInstance::on_reset_keybinds(ResetKeybinds *ev) |
| 2564 | { |
| 2565 | const GameDataStore &data(getGameData()); |
| 2566 | const Parse_AllKeyProfiles &default_profiles(data.m_keybind_profiles); |
| 2567 | MapClientSession &session(m_session_store.session_from_event(ev)); |
| 2568 | Entity *ent = session.m_ent; |
| 2569 | |
| 2570 | ent->m_player->m_keybinds.resetKeybinds(default_profiles); |
| 2571 | //qCDebug(logMapEvents) << "Resetting Keybinds to defaults."; |
| 2572 | } |
| 2573 | |
| 2574 | void MapInstance::on_select_keybind_profile(SelectKeybindProfile *ev) |
| 2575 | { |
nothing calls this directly
no test coverage detected