MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / save

Method save

source/frontend/StarVoice.cpp:261–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void Voice::save() const {
262 if (Root* root = Root::singletonPtr()) {
263 if (auto config = root->configuration())
264 config->set("voice", saveJson());
265 }
266}
267
268void Voice::scheduleSave() {
269 if (!m_nextSaveTime)

Callers 1

writePreviewMethod · 0.80

Calls 2

configurationMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected