Add x64process stat.
This commit is contained in:
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
static bool fetchedNews;
|
||||
|
||||
// Increment the version number when adding new stats
|
||||
const int SystemInformationVersion = 2;
|
||||
const int SystemInformationVersion = 3;
|
||||
Dictionary<string, Pair<string, string>> GetSystemInformation()
|
||||
{
|
||||
var lang = System.Globalization.CultureInfo.InstalledUICulture.TwoLetterISOLanguageName;
|
||||
@@ -48,6 +48,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{ "platform", Pair.New("OS Type", Platform.CurrentPlatform.ToString()) },
|
||||
{ "os", Pair.New("OS Version", Environment.OSVersion.ToString()) },
|
||||
{ "x64", Pair.New("OS is 64 bit", Environment.Is64BitOperatingSystem.ToString()) },
|
||||
{ "x64process", Pair.New("Process is 64 bit", Environment.Is64BitProcess.ToString()) },
|
||||
{ "runtime", Pair.New(".NET Runtime", Platform.RuntimeVersion) },
|
||||
{ "gl", Pair.New("OpenGL Version", Game.Renderer.GLVersion) },
|
||||
{ "windowsize", Pair.New("Window Size", "{0}x{1}".F(Game.Renderer.Resolution.Width, Game.Renderer.Resolution.Height)) },
|
||||
|
||||
Reference in New Issue
Block a user