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

Method get

plugins/plugin_utils/plugin_HTTP.cpp:640–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640std::vector<std::string> TemplateMetaData::get(const char* key) {
641 std::vector<std::string> vals;
642
643 if (key) {
644 std::string keyName = makeupper(key);
645
646 if (data.find(keyName) != data.end()) {
647 vals = data[keyName];
648 }
649 }
650
651 return vals;
652}
653
654std::string TemplateMetaData::getFirst(const char* key) {
655 std::string val;

Callers 15

initReportMethod · 0.45
thinkMethod · 0.45
listPlayersMethod · 0.45
keyCallbackMethod · 0.45
killall.cppFile · 0.45
handleMethod · 0.45
bz_LoadFunction · 0.45
countPlayersMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45
permInGroupFunction · 0.45
findGroupsWithPermsFunction · 0.45

Calls 3

makeupperFunction · 0.70
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected