diff options
author | Dan Volchek <volchek2@illinois.edu> | 2019-08-25 17:14:55 -0700 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 19:14:19 -0400 |
commit | 00b067fead282bb30eb8ca67572f16bd6e1920b7 (patch) | |
tree | e6b55b6250a16aafb97ca42bdbcb4f5724334622 /src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs | |
parent | 15fd868f59e84629b66e0cb8fcfdda86b1ffd813 (diff) | |
download | SMAPI-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.cs | 18 |
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 + } +} |