示例#1
0
        public override string ToString()
        {
            string time     = Time?.ToString("HH:mm");
            string day      = Day?.ToString("yyyy'-'MM'-'dd");
            string raidBoss = RaidBossId == 0 ? string.Empty : Mons.GetNameById(RaidBossId);
            string result   = $"{Name} {day} {time} {raidBoss} (Expires {ToStringExpire()}) ({UserCount} Attendees)";

            return(Regex.Replace(result, @"\s+", " "));;
        }
示例#2
0
 public override string ToString()
 {
     return($"{Name} {Time.ToString("HH:mm")} {Mons.GetNameById(RaidBossId)} ({UserCount} Attendees)");
 }