(PlayerCharacter pc)
| 155 | } |
| 156 | |
| 157 | private synchronized List<Skill> getSkillList(PlayerCharacter pc) |
| 158 | { |
| 159 | if (pc == lastPC && pc.getSerial() == lastPCSerial) |
| 160 | { |
| 161 | return cachedSkillList; |
| 162 | } |
| 163 | |
| 164 | final List<Skill> pcSkills = |
| 165 | SkillDisplay.getSkillListInOutputOrder(pc, pc.getDisplay().getPartialSkillList(View.VISIBLE_EXPORT)); |
| 166 | cachedSkillList = pcSkills; |
| 167 | lastPC = pc; |
| 168 | lastPCSerial = pc.getSerial(); |
| 169 | return pcSkills; |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * Given the source of the token, split it up into its skill id and |
no test coverage detected