public DiscordRPC.Party MakeParty(int partySize, int maxParty, string partyHash) { DiscordRPC.Party party = new DiscordRPC.Party { Size = partySize, Max = maxParty, ID = partyHash }; return(party); }
/// <summary> /// Creates new instances of the party, using the <see cref="DiscordRPC.Party"/> as the base. /// </summary> /// <param name="party">The base to use the values from</param> public DiscordParty(DiscordRPC.Party party) { this.identifer = party.ID; this.size = party.Size; this.maxSize = party.Max; }