diff options
Diffstat (limited to 'src/SMAPI/Events/AssetReadyEventArgs.cs')
-rw-r--r-- | src/SMAPI/Events/AssetReadyEventArgs.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/SMAPI/Events/AssetReadyEventArgs.cs b/src/SMAPI/Events/AssetReadyEventArgs.cs new file mode 100644 index 00000000..946c9173 --- /dev/null +++ b/src/SMAPI/Events/AssetReadyEventArgs.cs @@ -0,0 +1,25 @@ +using System; + +namespace StardewModdingAPI.Events +{ + /// <summary>Event arguments for an <see cref="IContentEvents.AssetReady"/> event.</summary> + public class AssetReadyEventArgs : EventArgs + { + /********* + ** Accessors + *********/ + /// <summary>The name of the asset being requested.</summary> + public IAssetName Name { get; } + + + /********* + ** Public methods + *********/ + /// <summary>Construct an instance.</summary> + /// <param name="name">The name of the asset being requested.</param> + internal AssetReadyEventArgs(IAssetName name) + { + this.Name = name; + } + } +} |