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

Method reset

plugins/spectate.cpp:174–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173public:
174 void reset() {
175 history.clear();
176 offset = 0;
177 }
178
179 void add_to_history(color_ostream &out, int32_t unit_id) {
180 if (offset > 0) {

Callers 4

resetMethod · 0.45
on_disableFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected