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

Method getPCCText

code/src/java/pcgen/core/PObject.java:229–236  ·  view source on GitHub ↗

Get the PCC text with the saved name @return the PCC text with the saved name

()

Source from the content-addressed store, hash-verified

227 * @return the PCC text with the saved name
228 */
229 public String getPCCText()
230 {
231 StringJoiner txt = new StringJoiner("\t");
232 txt.add(getDisplayName());
233 Globals.getContext().unparse(this).forEach(txt::add);
234 txt.add(PrerequisiteWriter.prereqsToString(this));
235 return txt.toString();
236 }
237
238 public String getSource()
239 {

Callers 10

writeCustomPObjectsMethod · 0.95
testGetPCCTextMethod · 0.45
testGetPCCTextMethod · 0.45
unparseMethod · 0.45
unparseMethod · 0.45
unparseMethod · 0.45
writeCustomSpellsMethod · 0.45
appendDeityLineMethod · 0.45
appendDomainLinesMethod · 0.45
writeAbilityToBufferMethod · 0.45

Calls 7

getContextMethod · 0.95
prereqsToStringMethod · 0.95
forEachMethod · 0.80
addMethod · 0.65
getDisplayNameMethod · 0.65
unparseMethod · 0.65
toStringMethod · 0.65

Tested by 2

testGetPCCTextMethod · 0.36
testGetPCCTextMethod · 0.36