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

Method getCapacityToken

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

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

(CharacterDisplay display)

Source from the content-addressed store, hash-verified

80 * @return the CAPACITY sub token
81 */
82 public static String getCapacityToken(CharacterDisplay display)
83 {
84 return Globals.getGameModeUnitSet().displayWeightInUnitSet(display.getMaxLoad().doubleValue());
85 }
86
87 /**
88 * Get the LOAD sub token

Callers 1

getTokenMethod · 0.95

Calls 4

getGameModeUnitSetMethod · 0.95
doubleValueMethod · 0.80
getMaxLoadMethod · 0.45

Tested by

no test coverage detected