|
Discord Social SDK
|
Struct that stores information about the game organization linked to a guild.
If the game organization is owned by a different application, the guild is still linked but both fields are empty.
Public Member Functions | |
| LinkedGameOrganization (LinkedGameOrganization &&other) noexcept | |
| Move constructor for LinkedGameOrganization. | |
| LinkedGameOrganization & | operator= (LinkedGameOrganization &&other) noexcept |
| Move assignment operator for LinkedGameOrganization. | |
| operator bool () const | |
| Returns true if the instance contains a valid object. | |
| LinkedGameOrganization (const LinkedGameOrganization &arg0) | |
| Copy constructor for LinkedGameOrganization. | |
| LinkedGameOrganization & | operator= (const LinkedGameOrganization &arg0) |
| Copy assignment operator for LinkedGameOrganization. | |
| std::optional< uint64_t > | ApplicationId () const |
| The ID of the application that owns the game organization. | |
| void | SetApplicationId (std::optional< uint64_t > ApplicationId) |
| Setter for LinkedGameOrganization::ApplicationId. | |
| std::optional< discordpp::String > | GameOrganizationId () const |
| The ID of the game organization. | |
| void | SetGameOrganizationId (std::optional< std::string_view > GameOrganizationId) |
| Setter for LinkedGameOrganization::GameOrganizationId. | |
Static Public Attributes | |
| static const LinkedGameOrganization | nullobj |
| Uninitialized instance of LinkedGameOrganization. | |
|
noexcept |
Move constructor for LinkedGameOrganization.
| discordpp::LinkedGameOrganization::LinkedGameOrganization | ( | const LinkedGameOrganization & | arg0 | ) |
Copy constructor for LinkedGameOrganization.
| std::optional< uint64_t > discordpp::LinkedGameOrganization::ApplicationId | ( | ) | const |
The ID of the application that owns the game organization.
| std::optional< discordpp::String > discordpp::LinkedGameOrganization::GameOrganizationId | ( | ) | const |
The ID of the game organization.
|
inline |
Returns true if the instance contains a valid object.
| LinkedGameOrganization & discordpp::LinkedGameOrganization::operator= | ( | const LinkedGameOrganization & | arg0 | ) |
Copy assignment operator for LinkedGameOrganization.
|
noexcept |
Move assignment operator for LinkedGameOrganization.
| void discordpp::LinkedGameOrganization::SetApplicationId | ( | std::optional< uint64_t > | ApplicationId | ) |
Setter for LinkedGameOrganization::ApplicationId.
| void discordpp::LinkedGameOrganization::SetGameOrganizationId | ( | std::optional< std::string_view > | GameOrganizationId | ) |
Setter for LinkedGameOrganization::GameOrganizationId.
|
static |
Uninitialized instance of LinkedGameOrganization.