summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/ContentSource.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-04-29 14:13:55 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-04-29 14:13:55 -0400
commit9b615fadaa3bb8fbf4fe011320aa1cc709113f3f (patch)
tree2bea5b0699288c7521ec994be992a7f4c73fa313 /src/StardewModdingAPI/ContentSource.cs
parent6b9372237c79517a44a4ce3e096634f0273f5ba3 (diff)
downloadSMAPI-9b615fadaa3bb8fbf4fe011320aa1cc709113f3f.tar.gz
SMAPI-9b615fadaa3bb8fbf4fe011320aa1cc709113f3f.tar.bz2
SMAPI-9b615fadaa3bb8fbf4fe011320aa1cc709113f3f.zip
add initial content API (#257)
Diffstat (limited to 'src/StardewModdingAPI/ContentSource.cs')
-rw-r--r--src/StardewModdingAPI/ContentSource.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/ContentSource.cs b/src/StardewModdingAPI/ContentSource.cs
new file mode 100644
index 00000000..35c8bc21
--- /dev/null
+++ b/src/StardewModdingAPI/ContentSource.cs
@@ -0,0 +1,12 @@
+namespace StardewModdingAPI
+{
+ /// <summary>Specifies a source containing content that can be loaded.</summary>
+ public enum ContentSource
+ {
+ /// <summary>Assets in the game's content manager (i.e. XNBs in the game's content folder).</summary>
+ GameContent,
+
+ /// <summary>XNB files in the current mod's folder.</summary>
+ ModFolder
+ }
+}