A game about forced loneliness, made by TACStudios
1using System; 2using System.Diagnostics; 3 4namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol 5{ 6 [Serializable] 7 internal abstract class Message 8 { 9 public string type; 10 // Milliseconds since unix epoch 11 public ulong time; 12 public int version; 13 public string phase; 14 public int processId; 15 16 protected Message() 17 { 18 version = 2; 19 phase = "Immediate"; 20 processId = Process.GetCurrentProcess().Id; 21 AddTimeStamp(); 22 } 23 24 public void AddTimeStamp() 25 { 26 time = Convert.ToUInt64((DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalMilliseconds); 27 } 28 } 29}