MCPcopy Create free account
hub / github.com/DFHack/dfhack / hotkey_listAllKeybinds

Function hotkey_listAllKeybinds

library/LuaApi.cpp:1966–1972  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1964}
1965
1966static int hotkey_listAllKeybinds(lua_State *L) {
1967 auto hotkey_mgr = Core::getInstance().getHotkeyManager();
1968 auto binds = hotkey_mgr->listAllKeybinds();
1969
1970 hotkey_pushBindArray(L, binds);
1971 return 1;
1972}
1973
1974static const luaL_Reg dfhack_hotkey_funcs[] = {
1975 { "removeKeybind", hotkey_removeKeybind },

Callers

nothing calls this directly

Calls 2

hotkey_pushBindArrayFunction · 0.85
listAllKeybindsMethod · 0.80

Tested by

no test coverage detected