Re-added Game ID to GameEntryModel.
- Useful for search query lookups.
This commit is contained in:
@@ -166,6 +166,7 @@ namespace DevConsole
|
|||||||
{
|
{
|
||||||
foreach (var game in gameEntries)
|
foreach (var game in gameEntries)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine($"ID: {game.ID}");
|
||||||
Console.WriteLine($"GameName: {game.GameName}");
|
Console.WriteLine($"GameName: {game.GameName}");
|
||||||
Console.WriteLine($"BackupWarning: {game.BackupWarning}");
|
Console.WriteLine($"BackupWarning: {game.BackupWarning}");
|
||||||
Console.WriteLine($"RestoreWarning: {game.RestoreWarning}");
|
Console.WriteLine($"RestoreWarning: {game.RestoreWarning}");
|
||||||
@@ -173,14 +174,6 @@ namespace DevConsole
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void PrintGameEntry(GameEntryModel gameEntry)
|
|
||||||
{
|
|
||||||
Console.WriteLine($"GameName: {gameEntry.GameName}");
|
|
||||||
Console.WriteLine($"BackupWarning: {gameEntry.BackupWarning}");
|
|
||||||
Console.WriteLine($"RestoreWarning: {gameEntry.RestoreWarning}");
|
|
||||||
Console.WriteLine($"LastModified: {gameEntry.LastModified}\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void PrintDirectories(List<DirectoriesModel> directoryEntries)
|
private static void PrintDirectories(List<DirectoriesModel> directoryEntries)
|
||||||
{
|
{
|
||||||
foreach (var directory in directoryEntries)
|
foreach (var directory in directoryEntries)
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
{
|
{
|
||||||
public class GameEntryModel
|
public class GameEntryModel
|
||||||
{
|
{
|
||||||
|
public string ID { get; set; }
|
||||||
public string GameName { get; set; }
|
public string GameName { get; set; }
|
||||||
public string BackupWarning { get; set; }
|
public string BackupWarning { get; set; }
|
||||||
public string RestoreWarning { get; set; }
|
public string RestoreWarning { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user