ACE.NotifyContraptionPointsInvalidated
SPart of ACE namespace
function ACE.NotifyContraptionPointsInvalidated(con, ent, reason, armorDirty, nonArmorDirty, event)👁️ 0 viewsUpdated 1 month ago
Description
Public point lifecycle hooks: ACE_OnContraptionPointsInvalidated(con, change) reports every known pricing-input mutation, even when the cache is already dirty or the resulting point delta is zero. change contains Revision, Entity, Reason, Armor, and NonArmor. Consumers can call ACE.EnsureContraptionPoints from this hook when they need the updated total immediately. ACE_OnContraptionPointsRecalculated(con, change) reports Revision, OldTotal, Total, OldByType, ByType, Armor, and NonArmor as detached snapshots after a rebuild.
Parameters
| Name | Type | Description |
|---|---|---|
con | any | |
ent | any | |
reason | any | |
armorDirty | any | |
nonArmorDirty | any | |
event | any |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.