summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/IContentEvents.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-03-26 19:08:25 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-03-26 19:08:25 -0400
commit03efea26676464933513383eb1c841f1ca5db34d (patch)
tree6f9845ddca8ebae2d510affadfac025a30b321d6 /src/SMAPI/Events/IContentEvents.cs
parenteebd8d54dc068cff2b5127a4b8f03d0b54b89542 (diff)
downloadSMAPI-03efea26676464933513383eb1c841f1ca5db34d.tar.gz
SMAPI-03efea26676464933513383eb1c841f1ca5db34d.tar.bz2
SMAPI-03efea26676464933513383eb1c841f1ca5db34d.zip
add LocaleChanged content event (#766)
Diffstat (limited to 'src/SMAPI/Events/IContentEvents.cs')
-rw-r--r--src/SMAPI/Events/IContentEvents.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Events/IContentEvents.cs b/src/SMAPI/Events/IContentEvents.cs
index abbaaf33..d537db70 100644
--- a/src/SMAPI/Events/IContentEvents.cs
+++ b/src/SMAPI/Events/IContentEvents.cs
@@ -19,5 +19,9 @@ namespace StardewModdingAPI.Events
/// <summary>Raised after an asset is loaded by the content pipeline, after all mod edits specified via <see cref="AssetRequested"/> have been applied.</summary>
/// <remarks>This event is only raised if something requested the asset from the content pipeline. Invalidating an asset from the content cache won't necessarily reload it automatically.</remarks>
event EventHandler<AssetReadyEventArgs> AssetReady;
+
+ /// <summary>Raised after the game language changes.</summary>
+ /// <remarks>For non-English players, this may be raised during startup when the game switches to the previously selected language.</remarks>
+ event EventHandler<LocaleChangedEventArgs> LocaleChanged;
}
}