MCPcopy Index your code
hub / github.com/PCGen/pcgen / getPC

Method getPC

code/src/java/plugin/jepcommands/MasterVarCommand.java:113–125  ·  view source on GitHub ↗

Get the PC that will be used to determine the master @return the pc

()

Source from the content-addressed store, hash-verified

111 * @return the pc
112 */
113 private PlayerCharacter getPC()
114 {
115 PlayerCharacter pc = null;
116 if (parent instanceof VariableProcessor)
117 {
118 pc = ((VariableProcessor) parent).getPc();
119 }
120 else if (parent instanceof PlayerCharacter)
121 {
122 pc = (PlayerCharacter) parent;
123 }
124 return pc;
125 }
126}

Callers 3

runMethod · 0.95
runMethod · 0.45
runMethod · 0.45

Calls 1

getPcMethod · 0.45

Tested by

no test coverage detected