Processes added CDOMObjects to determine whether they contained an AUTO:SHIELDPROF, and if so, processes the contents of that token to add the appropriate ShieldProfProviders to the Player Character. Triggered when one of the Facets to which ShieldProfFacet listens fires a DataFacetChangeEvent to i
(DataFacetChangeEvent<CharID, CDOMObject> dfce)
| 53 | * change |
| 54 | */ |
| 55 | @Override |
| 56 | public void dataAdded(DataFacetChangeEvent<CharID, CDOMObject> dfce) |
| 57 | { |
| 58 | CDOMObject cdo = dfce.getCDOMObject(); |
| 59 | List<ShieldProfProvider> shieldProfs = cdo.getListFor(ListKey.AUTO_SHIELDPROF); |
| 60 | if (shieldProfs != null) |
| 61 | { |
| 62 | shieldProfProviderFacet.addAll(dfce.getCharID(), shieldProfs, cdo); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * Processes removed CDOMObjects to determine whether they contained an |
nothing calls this directly
no test coverage detected