UI: See what games do/don't have an image & dynamic RPC support in the Game Info popup

This commit is contained in:
Evan Husted
2025-02-07 18:34:11 -06:00
parent 5085af0050
commit 4e8157688e
5 changed files with 106 additions and 0 deletions

View File

@@ -63,6 +63,9 @@ namespace Ryujinx.Ava.Utilities.AppLibrary
public int GameCount { get; set; }
public bool HasLdnGames => PlayerCount != 0 && GameCount != 0;
public bool HasRichPresenceAsset => DiscordIntegrationModule.HasAssetImage(IdString);
public bool HasDynamicRichPresenceSupport => DiscordIntegrationModule.HasAnalyzer(IdString);
public TimeSpan TimePlayed { get; set; }
public DateTime? LastPlayed { get; set; }