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

Method getToken

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

Source from the content-addressed store, hash-verified

65 }
66
67 @Override
68 public String getToken(String tokenSource, PlayerCharacter pc, ExportHandler eh)
69 {
70 SkillDetails details = SkillToken.buildSkillDetails(tokenSource);
71
72 Object aSkill = getSkill(pc, details, eh);
73
74 return getSkillProperty(aSkill, details.getProperty(0), pc);
75 }
76
77 /**
78 * Select the target skill based on the supplied criteria. Uses the

Callers 1

testSkillTokenMethod · 0.95

Calls 4

buildSkillDetailsMethod · 0.95
getSkillMethod · 0.95
getSkillPropertyMethod · 0.95
getPropertyMethod · 0.95

Tested by 1

testSkillTokenMethod · 0.76