MCPcopy Create free account
hub / github.com/Card-Forge/forge / getCardEdition

Method getCardEdition

forge-core/src/main/java/forge/StaticData.java:210–216  ·  view source on GitHub ↗
(String setCode)

Source from the content-addressed store, hash-verified

208 }
209
210 public CardEdition getCardEdition(String setCode) {
211 if (CardEdition.UNKNOWN_CODE.equals(setCode)) {
212 return CardEdition.UNKNOWN;
213 }
214 CardEdition edition = this.editions.get(setCode);
215 return edition;
216 }
217
218 public PaperCard getOrLoadCommonCard(String cardName, String setCode, int artIndex, boolean foil) {
219 PaperCard card = commonCards.getCard(cardName, setCode, artIndex);

Callers 15

GameFormatMethod · 0.95
initMapsMethod · 0.95
getProtoTypeMethod · 0.80
getDungeonCardMethod · 0.80
getUniqueMethod · 0.80
getMeldBaseCardMethod · 0.80
printedInAnyEditionsMethod · 0.80
onlyPrintedInEditionsMethod · 0.80

Calls 2

getMethod · 0.65
equalsMethod · 0.45