diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-03-24 22:55:55 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-03-24 22:55:55 -0400 |
commit | 2b0ce2bb4d6690b7d00da0a243855db9bffffbf0 (patch) | |
tree | 43c944e0af70ec8bcf628fd6f13f04f01826d869 /src/SMAPI/Events/IContentEvents.cs | |
parent | 6a43e6dfad0f4d3a17ea20ef391fe760135f1c24 (diff) | |
download | SMAPI-2b0ce2bb4d6690b7d00da0a243855db9bffffbf0.tar.gz SMAPI-2b0ce2bb4d6690b7d00da0a243855db9bffffbf0.tar.bz2 SMAPI-2b0ce2bb4d6690b7d00da0a243855db9bffffbf0.zip |
add AssetInvalidated content event (#766)
Diffstat (limited to 'src/SMAPI/Events/IContentEvents.cs')
-rw-r--r-- | src/SMAPI/Events/IContentEvents.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Events/IContentEvents.cs b/src/SMAPI/Events/IContentEvents.cs index feaf9c0a..ede9ea23 100644 --- a/src/SMAPI/Events/IContentEvents.cs +++ b/src/SMAPI/Events/IContentEvents.cs @@ -13,5 +13,8 @@ namespace StardewModdingAPI.Events /// If the asset is requested multiple times in the same tick (e.g. once to check if it exists and once to load it), SMAPI might only raise the event once and reuse the cached result. /// </remarks> event EventHandler<AssetRequestedEventArgs> AssetRequested; + + /// <summary>Raised after one or more assets were invalidated from the content cache by a mod, so they'll be reloaded next time they're requested. If the assets will be reloaded or propagated automatically, this event is raised before that happens.</summary> + event EventHandler<AssetsInvalidatedEventArgs> AssetsInvalidated; } } |