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

Method save

plugins/debug.cpp:246–252  ·  view source on GitHub ↗

Save the Filter to json configuration file

Source from the content-addressed store, hash-verified

244
245 //! Save the Filter to json configuration file
246 void save(JsonArchive& ar, const unsigned int) const
247 {
248 ar << NVP(categoryText_)
249 << NVP(pluginText_)
250 << NVP(enabled_)
251 << NVP(level_);
252 }
253
254private:
255 std::regex category_;

Callers 3

saveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected