Discord Social SDK
|
Public Member Functions | |
ActivityButton (ActivityButton &&other) noexcept | |
Move constructor for ActivityButton. | |
ActivityButton & | operator= (ActivityButton &&other) noexcept |
Move assignment operator for ActivityButton. | |
operator bool () const | |
Returns true if the instance contains a valid object. | |
ActivityButton (const ActivityButton &arg0) | |
Copy constructor for ActivityButton. | |
ActivityButton & | operator= (const ActivityButton &arg0) |
Copy assignment operator for ActivityButton. | |
std::string | Label () const |
The label of the button. | |
void | SetLabel (std::string Label) |
Setter for ActivityButton::Label. | |
std::string | Url () const |
The url of the button. | |
void | SetUrl (std::string Url) |
Setter for ActivityButton::Url. | |
Static Public Attributes | |
static const ActivityButton | nullobj |
Uninitialized instance of ActivityButton. | |
|
noexcept |
Move constructor for ActivityButton.
discordpp::ActivityButton::ActivityButton | ( | const ActivityButton & | arg0 | ) |
Copy constructor for ActivityButton.
std::string discordpp::ActivityButton::Label | ( | ) | const |
The label of the button.
|
inline |
Returns true if the instance contains a valid object.
|
noexcept |
Move assignment operator for ActivityButton.
ActivityButton & discordpp::ActivityButton::operator= | ( | const ActivityButton & | arg0 | ) |
Copy assignment operator for ActivityButton.
void discordpp::ActivityButton::SetLabel | ( | std::string | Label | ) |
Setter for ActivityButton::Label.
void discordpp::ActivityButton::SetUrl | ( | std::string | Url | ) |
Setter for ActivityButton::Url.
std::string discordpp::ActivityButton::Url | ( | ) | const |
The url of the button.
|
static |
Uninitialized instance of ActivityButton.