Discord Social SDK
|
Public Member Functions | |
ActivitySecrets (ActivitySecrets &&other) noexcept | |
Move constructor for ActivitySecrets. | |
ActivitySecrets & | operator= (ActivitySecrets &&other) noexcept |
Move assignment operator for ActivitySecrets. | |
operator bool () const | |
Returns true if the instance contains a valid object. | |
ActivitySecrets (const ActivitySecrets &arg0) | |
Copy constructor for ActivitySecrets. | |
ActivitySecrets & | operator= (const ActivitySecrets &arg0) |
Copy assignment operator for ActivitySecrets. | |
std::string | Join () const |
A secret string that is shared with users who are accepted into the party so the game knows how to join the user to the party. For example you might specify an internal game server ID or a Discord lobby ID or secret. If specified, must be a string between 2 and 128 characters. | |
void | SetJoin (std::string Join) |
Setter for ActivitySecrets::Join. | |
Static Public Attributes | |
static const ActivitySecrets | nullobj |
Uninitialized instance of ActivitySecrets. | |
|
noexcept |
Move constructor for ActivitySecrets.
discordpp::ActivitySecrets::ActivitySecrets | ( | const ActivitySecrets & | arg0 | ) |
Copy constructor for ActivitySecrets.
std::string discordpp::ActivitySecrets::Join | ( | ) | const |
A secret string that is shared with users who are accepted into the party so the game knows how to join the user to the party. For example you might specify an internal game server ID or a Discord lobby ID or secret. If specified, must be a string between 2 and 128 characters.
|
inline |
Returns true if the instance contains a valid object.
|
noexcept |
Move assignment operator for ActivitySecrets.
ActivitySecrets & discordpp::ActivitySecrets::operator= | ( | const ActivitySecrets & | arg0 | ) |
Copy assignment operator for ActivitySecrets.
void discordpp::ActivitySecrets::SetJoin | ( | std::string | Join | ) |
Setter for ActivitySecrets::Join.
|
static |
Uninitialized instance of ActivitySecrets.