using System.Diagnostics; namespace Discord { /// /// A user's Rich Presence status. /// [DebuggerDisplay(@"{DebuggerDisplay,nq}")] public class RichGame : Game { internal RichGame() { } /// /// Gets the user's current party status. /// public string State { get; internal set; } /// /// Gets the application ID for the game. /// public ulong ApplicationId { get; internal set; } /// /// Gets the small image for the presence and their hover texts. /// public GameAsset SmallAsset { get; internal set; } /// /// Gets the large image for the presence and their hover texts. /// public GameAsset LargeAsset { get; internal set; } /// /// Gets the information for the current party of the player. /// public GameParty Party { get; internal set; } /// /// Gets the secrets for Rich Presence joining and spectating. /// public GameSecrets Secrets { get; internal set; } /// /// Gets the timestamps for start and/or end of the game. /// public GameTimestamps Timestamps { get; internal set; } /// /// Returns the name of the Rich Presence. /// public override string ToString() => Name; private string DebuggerDisplay => $"{Name} (Rich)"; } }