MCPcopy Create free account
hub / github.com/PCGen/pcgen / getCampaignKeyed

Method getCampaignKeyed

code/src/java/pcgen/core/Globals.java:125–134  ·  view source on GitHub ↗

Get campaign by key @param aKey @return Campaign

(final String aKey)

Source from the content-addressed store, hash-verified

123 * @return Campaign
124 */
125 public static Campaign getCampaignKeyed(final String aKey)
126 {
127 final Campaign campaign = getCampaignKeyedSilently(aKey);
128 if (campaign == null)
129 {
130 Logging.errorPrint("Could not find campaign: " + aKey);
131 }
132
133 return campaign;
134 }
135
136 /**
137 * Get campaign by key

Callers 4

getBasicSourcesMethod · 0.95
getCampaignListMethod · 0.95
SourceFileLoaderMethod · 0.95
initGameModesMethod · 0.95

Calls 2

errorPrintMethod · 0.95

Tested by 1

getBasicSourcesMethod · 0.76