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

Method isCampaignKnown

Source/Versions.cpp:199–208  ·  view source on GitHub ↗

* Is the campaign name associated with a data version */

Source from the content-addressed store, hash-verified

197 * Is the campaign name associated with a data version
198 */
199bool cVersions::isCampaignKnown(const std::string& pName) const {
200 for (auto& KnownVersion : KnownGameVersions) {
201 // Is this campaign known?
202 if (KnownVersion.mName == pName) {
203 return true;
204 }
205 }
206
207 return false;
208}
209
210/**
211 * Is a campaign available

Callers 1

Campaign_Select_SetupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected