Table of Contents

Class Party

Namespace
DiscordRPC
Assembly
DiscordRPC.dll

Structure representing the part the player is in.

[Serializable]
public class Party
Inheritance
Party
Inherited Members

Properties

ID

A unique ID for the player's current party / lobby / group. If this is not supplied, they player will not be in a party and the rest of the information will not be sent.

Max 128 Bytes

[JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
public string ID { get; set; }

Property Value

string

Max

The maxium size of the party / lobby / group. This is required to be larger than Size. If it is smaller than the current party size, it will automatically be set too Size when the presence is sent.

[JsonIgnore]
public int Max { get; set; }

Property Value

int

Privacy

The privacy of the party

[JsonProperty("privacy", NullValueHandling = NullValueHandling.Include, DefaultValueHandling = DefaultValueHandling.Include)]
public Party.PrivacySetting Privacy { get; set; }

Property Value

Party.PrivacySetting

Size

The current size of the players party / lobby / group.

[JsonIgnore]
public int Size { get; set; }

Property Value

int