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

Method getWTToken

code/src/java/pcgen/io/exporttoken/WeaponToken.java:1073–1076  ·  view source on GitHub ↗

Get weight in set token @param pc @param eq @return weight in set token

(PlayerCharacter pc, Equipment eq)

Source from the content-addressed store, hash-verified

1071 * @return weight in set token
1072 */
1073 private static String getWTToken(PlayerCharacter pc, Equipment eq)
1074 {
1075 return Globals.getGameModeUnitSet().displayWeightInUnitSet(eq.getWeight(pc).doubleValue());
1076 }
1077
1078 /**
1079 * Get the number of attacks token

Callers 1

getWeaponTokenMethod · 0.95

Calls 4

getGameModeUnitSetMethod · 0.95
doubleValueMethod · 0.80
getWeightMethod · 0.65

Tested by

no test coverage detected