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

Method dataAdded

code/src/java/pcgen/cdom/facet/model/SizeFacet.java:337–341  ·  view source on GitHub ↗

Drives a recalculation of the size information for a Player Character when a CDOMObject is added to the Player Character. Triggered when one of the Facets to which SizeFacet listens fires a DataFacetChangeEvent to indicate a CDOMObject was added to a Player Character. @param dfce The Da

(DataFacetChangeEvent<CharID, CDOMObject> dfce)

Source from the content-addressed store, hash-verified

335 * change
336 */
337 @Override
338 public void dataAdded(DataFacetChangeEvent<CharID, CDOMObject> dfce)
339 {
340 update(dfce.getCharID());
341 }
342
343 /**
344 * Drives a recalculation of the size information for a Player Character

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
getCharIDMethod · 0.65

Tested by

no test coverage detected