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

Method contains

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

Returns true if this ClassFacet contains the given PCClass in the list of PCClass objects for the Player Character represented by the given CharID. @param id The CharID representing the Player Character used for testing @param obj The PCClass to test if this ClassFacet contain

(CharID id, PCClass obj)

Source from the content-addressed store, hash-verified

295 * Player Character represented by the given CharID; false otherwise
296 */
297 public boolean contains(CharID id, PCClass obj)
298 {
299 ClassInfo info = getClassInfo(id);
300 return info != null && info.containsClass(obj);
301 }
302
303 /**
304 * Sets the level for the given PCClass and the Player Character identified

Callers

nothing calls this directly

Calls 2

getClassInfoMethod · 0.95
containsClassMethod · 0.95

Tested by

no test coverage detected