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

Method VarsLoop

plugins/webadmin/loops.cpp:405–409  ·  view source on GitHub ↗

--------------VarsLoop

Source from the content-addressed store, hash-verified

403
404//--------------VarsLoop
405VarsLoop::VarsLoop(Templateiser& ts) {
406 ts.addLoop("servervars", this);
407 ts.addKey("servervarname", this);
408 ts.addKey("servervarvalue", this);
409}
410
411void VarsLoop::getKey(size_t item, std::string& data, const std::string& key) {
412 if (key == "servervarname") {

Callers

nothing calls this directly

Calls 2

addLoopMethod · 0.80
addKeyMethod · 0.80

Tested by

no test coverage detected