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

Method appendCampaignLine

code/src/java/pcgen/io/PCGVer2Creator.java:505–519  ·  view source on GitHub ↗
(StringBuilder buffer)

Source from the content-addressed store, hash-verified

503 }
504
505 private void appendCampaignLine(StringBuilder buffer)
506 {
507 if (campaigns != null)
508 {
509 String del = Constants.EMPTY_STRING;
510 for (Campaign campaign : campaigns)
511 {
512 buffer.append(del);
513 buffer.append(IOConstants.TAG_CAMPAIGN).append(':');
514 buffer.append(campaign.getKeyName());
515 del = "|"; //$NON-NLS-1$
516 }
517 buffer.append(IOConstants.LINE_SEP);
518 }
519 }
520
521 private GameMode getGameMode()
522 {

Callers 1

createPCGStringMethod · 0.95

Calls 2

getKeyNameMethod · 0.65
appendMethod · 0.45

Tested by

no test coverage detected