Returns the count of SpellBooks in this SpellBookFacet for the Player Character represented by the given CharID. @param id The CharID representing the Player Character for which the count of SpellBooks should be returned @return The count of SpellBooks in this SpellBookFacet f
(CharID id)
| 321 | * Character represented by the given CharID |
| 322 | */ |
| 323 | public int getCount(CharID id) |
| 324 | { |
| 325 | Map<String, SpellBook> componentMap = getCachedMap(id); |
| 326 | return (componentMap == null) ? 0 : componentMap.size(); |
| 327 | } |
| 328 | |
| 329 | /** |
| 330 | * Removes the SpellBook with the given name from the list of SpellBooks |
nothing calls this directly
no test coverage detected