void RestoreDateTimeData(DateAndTime_v1 dateTimeData) { if (dateTimeData == null) { return; } DaggerfallUnity.Instance.WorldTime.DaggerfallDateTime.FromSeconds(dateTimeData.gameTime); }
DateAndTime_v1 GetDateTimeData() { DateAndTime_v1 data = new DateAndTime_v1(); data.gameTime = DaggerfallUnity.Instance.WorldTime.DaggerfallDateTime.ToSeconds(); data.realTime = DateTime.Now.Ticks; return(data); }
void RestoreDateTimeData(DateAndTime_v1 dateTimeData) { if (dateTimeData == null) return; DaggerfallUnity.Instance.WorldTime.DaggerfallDateTime.FromSeconds(dateTimeData.gameTime); }
DateAndTime_v1 GetDateTimeData() { DateAndTime_v1 data = new DateAndTime_v1(); data.gameTime = DaggerfallUnity.Instance.WorldTime.DaggerfallDateTime.ToSeconds(); data.realTime = DateTime.Now.Ticks; return data; }