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

Method reloadAll

library/PluginManager.cpp:1013–1022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1011}
1012
1013bool PluginManager::reloadAll()
1014{
1015 std::lock_guard<std::recursive_mutex> lock{*plugin_mutex};
1016 bool ok = true;
1017 if (!unloadAll())
1018 ok = false;
1019 if (!loadAll())
1020 ok = false;
1021 return ok;
1022}
1023
1024Plugin *PluginManager::getPluginByCommand(const std::string &command)
1025{

Callers 1

loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected