bloxstrap/Bloxstrap/Models/BloxstrapRPC/RichPresence.cs
pizzaboxer c8c49a2921
Revamp Bloxstrap game messaging, now BloxstrapRPC
support for nested and dynamically-typed json fields, and games now have greater liberty over how the rich presence can be configured
2023-07-28 21:02:54 +01:00

24 lines
637 B
C#

namespace Bloxstrap.Models.BloxstrapRPC
{
class RichPresence
{
[JsonPropertyName("details")]
public string? Details { get; set; }
[JsonPropertyName("state")]
public string? State { get; set; }
[JsonPropertyName("timestampStart")]
public ulong? TimestampStart { get; set; }
[JsonPropertyName("timestampEnd")]
public ulong? TimestampEnd { get; set; }
[JsonPropertyName("smallImage")]
public RichPresenceImage? SmallImage { get; set; }
[JsonPropertyName("largeImage")]
public RichPresenceImage? LargeImage { get; set; }
}
}