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

Function burrow_units_set

plugins/burrow.cpp:667–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665}
666
667static int burrow_units_set(lua_State *L) {
668 color_ostream *out = Lua::GetOutput(L);
669 if (!out)
670 out = &Core::getInstance().getConsole();
671 DEBUG(status,*out).print("entering burrow_units_set\n");
672 units_set_add_remove(L, true, true);
673 return 0;
674}
675
676static int burrow_units_add(lua_State *L) {
677 color_ostream *out = Lua::GetOutput(L);

Callers

nothing calls this directly

Calls 2

units_set_add_removeFunction · 0.85
printMethod · 0.45

Tested by

no test coverage detected