feat: roms are now display by platform

This commit is contained in:
Michael Green
2023-06-26 23:49:06 +10:00
parent 805d213ab8
commit 3f269d802b
6 changed files with 175 additions and 6 deletions

View File

@@ -92,6 +92,7 @@ namespace gaseous_server.Classes
{
Id = (long)romDR["id"],
PlatformId = (long)romDR["platformid"],
Platform = Classes.Metadata.Platforms.GetPlatform((long)romDR["platformid"]),
GameId = (long)romDR["gameid"],
Name = (string)romDR["name"],
Size = (long)romDR["size"],
@@ -113,6 +114,7 @@ namespace gaseous_server.Classes
{
public long Id { get; set; }
public long PlatformId { get; set; }
public IGDB.Models.Platform Platform { get; set; }
public long GameId { get; set; }
public string? Name { get; set; }
public long Size { get; set; }