summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs
diff options
context:
space:
mode:
authorDan Volchek <volchek2@illinois.edu>2019-08-25 17:14:55 -0700
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 19:14:19 -0400
commit00b067fead282bb30eb8ca67572f16bd6e1920b7 (patch)
treee6b55b6250a16aafb97ca42bdbcb4f5724334622 /src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs
parent15fd868f59e84629b66e0cb8fcfdda86b1ffd813 (diff)
downloadSMAPI-00b067fead282bb30eb8ca67572f16bd6e1920b7.tar.gz
SMAPI-00b067fead282bb30eb8ca67572f16bd6e1920b7.tar.bz2
SMAPI-00b067fead282bb30eb8ca67572f16bd6e1920b7.zip
detect the client's platform and check the appropriate input in the log parser
Diffstat (limited to 'src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs')
-rw-r--r--src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs b/src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs
new file mode 100644
index 00000000..07a247cb
--- /dev/null
+++ b/src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs
@@ -0,0 +1,18 @@
+namespace StardewModdingAPI.Web.Framework.UserAgentParsing
+{
+ /// <summary>A software platform.</summary>
+ public enum Platform
+ {
+ /// <summary>The Android platform.</summary>
+ Android,
+
+ /// <summary>The Linux platform.</summary>
+ Linux,
+
+ /// <summary>The Mac platform.</summary>
+ Mac,
+
+ /// <summary>The Windows platform.</summary>
+ Windows
+ }
+}