Discord Social SDK
|
Public Member Functions | |
ActivityParty (ActivityParty &&other) noexcept | |
Move constructor for ActivityParty. | |
ActivityParty & | operator= (ActivityParty &&other) noexcept |
Move assignment operator for ActivityParty. | |
operator bool () const | |
Returns true if the instance contains a valid object. | |
ActivityParty (const ActivityParty &arg0) | |
Copy constructor for ActivityParty. | |
ActivityParty & | operator= (const ActivityParty &arg0) |
Copy assignment operator for ActivityParty. | |
std::string | Id () const |
Specifies the id of the party. "Party" is used colloquially to refer to a group of players in a shared context. This could be a lobby id, server id, team id, etc. | |
void | SetId (std::string Id) |
Setter for ActivityParty::Id. | |
int32_t | CurrentSize () const |
The number of people currently in the party, must be at least 1. | |
void | SetCurrentSize (int32_t CurrentSize) |
Setter for ActivityParty::CurrentSize. | |
int32_t | MaxSize () const |
The maximum number of people that can be in the party, must be at least 0. When 0, the UI will not display a maximum. | |
void | SetMaxSize (int32_t MaxSize) |
Setter for ActivityParty::MaxSize. | |
discordpp::ActivityPartyPrivacy | Privacy () const |
The privacy of the party. | |
void | SetPrivacy (discordpp::ActivityPartyPrivacy Privacy) |
Setter for ActivityParty::Privacy. | |
Static Public Attributes | |
static const ActivityParty | nullobj |
Uninitialized instance of ActivityParty. | |
|
noexcept |
Move constructor for ActivityParty.
discordpp::ActivityParty::ActivityParty | ( | const ActivityParty & | arg0 | ) |
Copy constructor for ActivityParty.
int32_t discordpp::ActivityParty::CurrentSize | ( | ) | const |
The number of people currently in the party, must be at least 1.
std::string discordpp::ActivityParty::Id | ( | ) | const |
Specifies the id of the party. "Party" is used colloquially to refer to a group of players in a shared context. This could be a lobby id, server id, team id, etc.
All party members should specify a RichPresence update using the same party id so that the Discord client knows how to group them together. If specified, must be a string between 2 and 128 characters.
int32_t discordpp::ActivityParty::MaxSize | ( | ) | const |
The maximum number of people that can be in the party, must be at least 0. When 0, the UI will not display a maximum.
|
inline |
Returns true if the instance contains a valid object.
|
noexcept |
Move assignment operator for ActivityParty.
ActivityParty & discordpp::ActivityParty::operator= | ( | const ActivityParty & | arg0 | ) |
Copy assignment operator for ActivityParty.
discordpp::ActivityPartyPrivacy discordpp::ActivityParty::Privacy | ( | ) | const |
The privacy of the party.
void discordpp::ActivityParty::SetCurrentSize | ( | int32_t | CurrentSize | ) |
Setter for ActivityParty::CurrentSize.
void discordpp::ActivityParty::SetId | ( | std::string | Id | ) |
Setter for ActivityParty::Id.
void discordpp::ActivityParty::SetMaxSize | ( | int32_t | MaxSize | ) |
Setter for ActivityParty::MaxSize.
void discordpp::ActivityParty::SetPrivacy | ( | discordpp::ActivityPartyPrivacy | Privacy | ) |
Setter for ActivityParty::Privacy.
|
static |
Uninitialized instance of ActivityParty.