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

Method getToken

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

Source from the content-addressed store, hash-verified

42 }
43
44 @Override
45 public String getToken(String tokenSource, PlayerCharacter pc, ExportHandler eh)
46 {
47 String retString = "";
48 int mod = process(pc);
49
50 if (mod != Constants.MAX_MAXDEX)
51 {
52 retString = Delta.toString(mod);
53 }
54
55 return retString;
56 }
57
58 /**
59 * Get the value for the MAXDEX token

Callers

nothing calls this directly

Calls 2

processMethod · 0.95
toStringMethod · 0.95

Tested by

no test coverage detected