Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ reset
Method
reset
plugins/spectate.cpp:256–258 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
254
255
public:
256
void reset() {
257
units.clear();
258
}
259
260
void add(int32_t unit_id) {
261
units[unit_id] = Core::getInstance().getUnpausedMs();
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected