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

Method reload

library/PluginManager.cpp:478–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478bool Plugin::reload(color_ostream &out)
479{
480 if(state != PS_LOADED)
481 return false;
482 if(!unload(out))
483 return false;
484 if(!load(out))
485 return false;
486 return true;
487}
488
489command_result Plugin::invoke(color_ostream &out, const std::string & command, std::vector <std::string> & parameters)
490{

Callers 1

loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected