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

Method doLoadWorldData

library/PluginManager.cpp:1118–1127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1116}
1117
1118void PluginManager::doLoadWorldData(color_ostream &out)
1119{
1120 for (auto it = begin(); it != end(); ++it)
1121 {
1122 command_result cr = it->second->load_world_data(out);
1123
1124 if (cr != CR_OK && cr != CR_NOT_IMPLEMENTED)
1125 out.printerr("Plugin {} has failed to load saved world data.\n", it->first);
1126 }
1127}
1128
1129void PluginManager::doLoadSiteData(color_ostream &out)
1130{

Callers 1

onStateChangeMethod · 0.80

Calls 2

beginFunction · 0.85
load_world_dataMethod · 0.80

Tested by

no test coverage detected