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

Method getWeightToken

code/src/java/pcgen/io/exporttoken/TotalToken.java:133–137  ·  view source on GitHub ↗

Get the WEIGHT sub token @param display @return the WEIGHT sub token

(CharacterDisplay display)

Source from the content-addressed store, hash-verified

131 * @return the WEIGHT sub token
132 */
133 public static String getWeightToken(CharacterDisplay display)
134 {
135 return Globals.getGameModeUnitSet().displayWeightInUnitSet(display.totalWeight().doubleValue())
136 + Globals.getGameModeUnitSet().getWeightUnit();
137 }
138}

Callers 1

getTokenMethod · 0.95

Calls 5

getGameModeUnitSetMethod · 0.95
doubleValueMethod · 0.80
totalWeightMethod · 0.80
getWeightUnitMethod · 0.45

Tested by

no test coverage detected