mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 10:31:26 -07:00
support for nested and dynamically-typed json fields, and games now have greater liberty over how the rich presence can be configured
24 lines
637 B
C#
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; }
|
|
}
|
|
}
|