MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / bz_Load

Function bz_Load

plugins/webadmin/webadmin.cpp:53–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51std::string binRoot;
52
53BZ_GET_PLUGIN_VERSION
54
55BZF_PLUGIN_CALL int bz_Load(const char* commandLine) {
56 // save off where we are
57 binRoot = bz_pluginBinPath();
58
59 if (webAdmin) {
60 delete(webAdmin);
61 }
62 webAdmin = new WebAdmin;
63 webAdmin->init(commandLine);
64
65 bz_debugMessage(4, "webadmin plugin loaded");
66 return 0;
67}
68
69BZF_PLUGIN_CALL int bz_Unload(void) {
70 if (webAdmin) {

Callers

nothing calls this directly

Calls 3

bz_pluginBinPathFunction · 0.85
bz_debugMessageFunction · 0.85
initMethod · 0.45

Tested by

no test coverage detected