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

Method getCharID

code/src/java/pcgen/core/PlayerCharacter.java:8748–8751  ·  view source on GitHub ↗

WARNING: Use this method SPARINGLY... and only for transition to the facet model. It is NOT an excuse to throw around a PlayerCharacter object when unnecessary @return The id of the character as used by the facets.

()

Source from the content-addressed store, hash-verified

8746 * @return The id of the character as used by the facets.
8747 */
8748 public CharID getCharID()
8749 {
8750 return id;
8751 }
8752
8753 private int getSpellBookCount()
8754 {

Callers 15

testGetTokenMethod · 0.95
testRandomizeMethod · 0.95
testAgeSetMethod · 0.95
testPassesMethod · 0.95
testSizeModMethod · 0.95
testFactMethod · 0.95
testBooleanMethod · 0.95
testFormatMethod · 0.95
testNameMethod · 0.95
testNewFormatMethod · 0.95
testPantheonMethod · 0.95
testAbbrevMethod · 0.95

Calls

no outgoing calls

Tested by 15

testGetTokenMethod · 0.76
testRandomizeMethod · 0.76
testAgeSetMethod · 0.76
testPassesMethod · 0.76
testSizeModMethod · 0.76
testFactMethod · 0.76
testBooleanMethod · 0.76
testFormatMethod · 0.76
testNameMethod · 0.76
testNewFormatMethod · 0.76
testPantheonMethod · 0.76
testAbbrevMethod · 0.76