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

Method getClassLevel

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

Returns the PCClassLevel object associated with the Player Character represented by the given CharID, the given PCClass, and the given (numeric) class level. @param id The CharID representing the Player Character for which the associated PCClassLevel will be returned @param ob

(CharID id, PCClass obj, int level)

Source from the content-addressed store, hash-verified

124 * (numeric) class level.
125 */
126 public PCClassLevel getClassLevel(CharID id, PCClass obj, int level)
127 {
128 ClassInfo info = getClassInfo(id);
129 if (info == null)
130 {
131 return null;
132 }
133 return info.getClassLevel(obj, level);
134 }
135
136 /**
137 * Remove the given PCClass from the list of PCClass objects stored in this

Callers

nothing calls this directly

Calls 2

getClassInfoMethod · 0.95
getClassLevelMethod · 0.95

Tested by

no test coverage detected