Skip to content

Party Player

PartyPlayer Record

C#
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
public record PlatformInfo(
    [property: JsonPropertyName("platformType")] string PlatformType,
    [property: JsonPropertyName("platformOS")] string PlatformOS,
    [property: JsonPropertyName("platformOSVersion")] string PlatformOSVersion,
    [property: JsonPropertyName("platformChipset")] string PlatformChipset
);

public record PartyPlayer(
    [property: JsonPropertyName("Subject")] string Subject,
    [property: JsonPropertyName("Version")] long? Version,
    [property: JsonPropertyName("CurrentPartyID")] string CurrentPartyID,
    [property: JsonPropertyName("Invites")] object Invites,
    [property: JsonPropertyName("Requests")] IReadOnlyList<object> Requests,
    [property: JsonPropertyName("PlatformInfo")] PlatformInfo PlatformInfo
);