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

Method getLevel

code/src/java/pcgen/cdom/facet/model/ClassFacet.java:335–339  ·  view source on GitHub ↗

Returns the current (numerical) level for the given PCClass in the Player Character identified by the given CharID. @param id The CharID identifying the Player Character for which the level of the given PCClass should be returned @param pcc The PCClass for which the

(CharID id, PCClass pcc)

Source from the content-addressed store, hash-verified

333 * Player Character identified by the given CharID
334 */
335 public int getLevel(CharID id, PCClass pcc)
336 {
337 ClassInfo info = getClassInfo(id);
338 return (info == null) ? 0 : info.getLevel(pcc);
339 }
340
341 /**
342 * Returns the ClassInfo for this ClassFacet and the given CharID. May

Callers 7

addMethod · 0.45
removeMethod · 0.45
updateMethod · 0.45
dataAddedMethod · 0.45
updateMethod · 0.45
getFavoredClassLevelMethod · 0.45

Calls 2

getClassInfoMethod · 0.95
getLevelMethod · 0.95

Tested by

no test coverage detected