protected virtual void OnPrintSaveSlotChecksumValidation(string name, IMultiSegmentFile file) { ConsolePrinter.PrintColored(ConsoleColor.Gray, $@"{name}:".PadRight(15)); ConsolePrinter.PrintColored(ConsoleColor.DarkYellow, $@" {Res.CompSlot} (1-{file.MaxIndex + 1})"); ConsolePrinter.PrintColored(ConsoleColor.White, @" [ "); for (var i = 0; i <= file.MaxIndex; i++) { if (i > 0) { ConsolePrinter.PrintColored(ConsoleColor.White, @" | "); } var isValid = file.IsValid(i); ConsolePrinter.PrintColored(isValid ? ConsoleColor.DarkGreen : ConsoleColor.Red, isValid ? Resources.Valid : Resources.Invalid); } ConsolePrinter.PrintColoredLine(ConsoleColor.White, @" ]"); }