UnityGame/Library/PackageCache/com.unity.test-framework/UnityEditor.TestRunner/UnityTestProtocol/Data/PlayerSystemInfo.cs
2024-10-27 10:53:47 +03:00

36 lines
1.2 KiB
C#

using System;
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
{
// This class is used for serialization purposes
// which requires public access to fields and a default empty constructor
[Serializable]
internal class PlayerSystemInfo
{
public PlayerSystemInfo() { }
public PlayerSystemInfo(string operatingSystem, string deviceModel, string deviceName, string processorType, int processorCount, string graphicsDeviceName, int systemMemorySize, string xrModel = "", string xrDevice = "")
{
OperatingSystem = operatingSystem;
DeviceModel = deviceModel;
DeviceName = deviceName;
ProcessorType = processorType;
ProcessorCount = processorCount;
GraphicsDeviceName = graphicsDeviceName;
SystemMemorySize = systemMemorySize;
XrModel = xrModel;
XrDevice = xrDevice;
}
public string OperatingSystem;
public string DeviceModel;
public string DeviceName;
public string ProcessorType;
public int ProcessorCount;
public string GraphicsDeviceName;
public int SystemMemorySize;
public string XrModel;
public string XrDevice;
}
}