diff options
author | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-23 13:43:11 -0400 |
---|---|---|
committer | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-23 13:43:11 -0400 |
commit | 49e035dd2289d58cc2cb6585027f3f038344404f (patch) | |
tree | 1a67172990e15c8ba57ea6add2dd6d1810222ac2 /StardewModdingAPI/Constants.cs | |
parent | eeb9e507da114c6121846aec6d71047bdb449ac0 (diff) | |
download | SMAPI-49e035dd2289d58cc2cb6585027f3f038344404f.tar.gz SMAPI-49e035dd2289d58cc2cb6585027f3f038344404f.tar.bz2 SMAPI-49e035dd2289d58cc2cb6585027f3f038344404f.zip |
0.39.1 inbound!
Diffstat (limited to 'StardewModdingAPI/Constants.cs')
-rw-r--r-- | StardewModdingAPI/Constants.cs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/StardewModdingAPI/Constants.cs b/StardewModdingAPI/Constants.cs index 19425dda..cffb711e 100644 --- a/StardewModdingAPI/Constants.cs +++ b/StardewModdingAPI/Constants.cs @@ -36,7 +36,7 @@ namespace StardewModdingAPI /// <summary> /// Title for the API console /// </summary> - public static string ConsoleTitle => string.Format("Stardew Modding API Console - Version {0} - Mods Loaded: {1}", VersionString, ModsLoaded); + public static string ConsoleTitle => $"Stardew Modding API Console - Version {Version.VersionString} - Mods Loaded: {ModsLoaded}"; /// <summary> /// Path for log files to be output to. @@ -44,15 +44,7 @@ namespace StardewModdingAPI /// </summary> public static string LogPath => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs"); - public const int MajorVersion = 0; - - public const int MinorVersion = 38; - - public const int PatchVersion = 8; - - public const string Build = "Alpha"; - - public static string VersionString => string.Format("{0}.{1}.{2} {3}", MajorVersion, MinorVersion, PatchVersion, Build); + public static readonly Version Version = new Version(0, 39, 1, "Alpha"); /// <summary> /// Not quite "constant", but it makes more sense for it to be here, at least for now |