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

Function hotkey_listActiveKeybinds

library/LuaApi.cpp:1958–1964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1956}
1957
1958static int hotkey_listActiveKeybinds(lua_State *L) {
1959 auto hotkey_mgr = Core::getInstance().getHotkeyManager();
1960 auto binds = hotkey_mgr->listActiveKeybinds();
1961
1962 hotkey_pushBindArray(L, binds);
1963 return 1;
1964}
1965
1966static int hotkey_listAllKeybinds(lua_State *L) {
1967 auto hotkey_mgr = Core::getInstance().getHotkeyManager();

Callers

nothing calls this directly

Calls 2

hotkey_pushBindArrayFunction · 0.85
listActiveKeybindsMethod · 0.80

Tested by

no test coverage detected