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

Method unparse

code/src/java/plugin/lsttokens/paper/HeightToken.java:47–57  ·  view source on GitHub ↗
(LoadContext context, PaperInfo pi)

Source from the content-addressed store, hash-verified

45 }
46
47 @Override
48 public String[] unparse(LoadContext context, PaperInfo pi)
49 {
50 String info = pi.getPaperInfo(PaperInfo.HEIGHT);
51 if (info == null)
52 {
53 // Probably an error
54 return null;
55 }
56 return new String[]{info};
57 }
58
59 @Override
60 public Class<PaperInfo> getTokenClass()

Callers

nothing calls this directly

Calls 1

getPaperInfoMethod · 0.45

Tested by

no test coverage detected