public static string TimeTooltipString() { /* * if (GameUtils.IsOnVacation()) * { * return Localization.LocalizeString("Gameplay/Utilities/SimClock:DayOfVacation", new object[] { this.CurrentTripDay, this.MaxTripDays }); * } */ int week = SimClock.ElapsedCalendarWeeks() + 0x1; int day = (SimClock.ElapsedCalendarDays() + 0x1) - (0x7 * (week - 0x1)); long priorWorldTicksPlayed = GameStates.PriorWorldTicksPlayed; if (priorWorldTicksPlayed != 0x0L) { int num4 = (int)SimClock.ConvertFromTicks(priorWorldTicksPlayed, TimeUnit.Weeks); int num5 = ((int)SimClock.ConvertFromTicks(priorWorldTicksPlayed, TimeUnit.Days)) - (0x7 * num4); week += num4; day += num5; if (day > 0x7) { week++; day -= 0x7; } } return(Localization.LocalizeString("Gameplay/Utilities/SimClock:TimePlayed", new object[] { week, day })); }