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

Method getToken

code/src/java/plugin/exporttokens/ArmorToken.java:39–48  ·  view source on GitHub ↗
(String tokenSource, PlayerCharacter pc, ExportHandler eh)

Source from the content-addressed store, hash-verified

37 }
38
39 @Override
40 public String getToken(String tokenSource, PlayerCharacter pc, ExportHandler eh)
41 {
42 if (tokenSource.startsWith("ARMOR")
43 && ((tokenSource.charAt(5) == '.') || Character.isDigit(tokenSource.charAt(5))))
44 {
45 return getArmorToken(tokenSource, pc, eh);
46 }
47 return "";
48 }
49
50 /**
51 * @param tokenSource

Callers

nothing calls this directly

Calls 1

getArmorTokenMethod · 0.95

Tested by

no test coverage detected