summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/IModLinked.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/IModLinked.cs')
-rw-r--r--src/StardewModdingAPI/IModLinked.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/IModLinked.cs b/src/StardewModdingAPI/IModLinked.cs
new file mode 100644
index 00000000..172ee30c
--- /dev/null
+++ b/src/StardewModdingAPI/IModLinked.cs
@@ -0,0 +1,12 @@
+namespace StardewModdingAPI
+{
+ /// <summary>An instance linked to a mod.</summary>
+ public interface IModLinked
+ {
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The unique ID of the mod for which the instance was created.</summary>
+ string ModID { get; }
+ }
+}