MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GetCampaignData

Method GetCampaignData

Source/ResourceMan.cpp:375–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375std::string cResourceMan::GetCampaignData(const std::string& pName) {
376 for (auto& Campaign : mCampaigns) {
377 if (Campaign.first == pName)
378 return Campaign.second;
379 }
380
381 return "";
382}
383
384std::vector<const sGameVersion*> cResourceMan::GetAvailable() const {
385 std::vector<const sGameVersion*> results;

Callers 1

GetPathMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected