| 515 | } |
| 516 | |
| 517 | @Override |
| 518 | public String getPCCText() |
| 519 | { |
| 520 | StringJoiner txt = new StringJoiner("\t"); |
| 521 | txt.add("CLASS:" + getDisplayName()); |
| 522 | txt.add(PrerequisiteWriter.prereqsToString(this)); |
| 523 | Globals.getContext().unparse(this).forEach(txt::add); |
| 524 | |
| 525 | // now all the level-based stuff |
| 526 | final String lineSep = System.getProperty("line.separator"); |
| 527 | |
| 528 | for (Map.Entry<Integer, PCClassLevel> me : levelMap.entrySet()) |
| 529 | { |
| 530 | txt.add(lineSep + me.getKey()); |
| 531 | txt.add(PrerequisiteWriter.prereqsToString(me.getValue())); |
| 532 | Globals.getContext().unparse(me.getValue()).forEach(txt::add); |
| 533 | } |
| 534 | |
| 535 | return txt.toString(); |
| 536 | } |
| 537 | |
| 538 | /* |
| 539 | * FINALPCCLASSONLY This is really an item that the PCClass knows, and then the |