Discord Social SDK
|
Struct that stores information about the channel that a lobby is linked to.
Public Member Functions | |
LinkedChannel (LinkedChannel &&other) noexcept | |
Move constructor for LinkedChannel. | |
LinkedChannel & | operator= (LinkedChannel &&other) noexcept |
Move assignment operator for LinkedChannel. | |
operator bool () const | |
Returns true if the instance contains a valid object. | |
LinkedChannel (const LinkedChannel &arg0) | |
Copy constructor for LinkedChannel. | |
LinkedChannel & | operator= (const LinkedChannel &arg0) |
Copy assignment operator for LinkedChannel. | |
uint64_t | Id () const |
The id of the linked channel. | |
void | SetId (uint64_t Id) |
Setter for LinkedChannel::Id. | |
std::string | Name () const |
The name of the linked channel. | |
void | SetName (std::string Name) |
Setter for LinkedChannel::Name. | |
uint64_t | GuildId () const |
The id of the guild (aka server) that owns the linked channel. | |
void | SetGuildId (uint64_t GuildId) |
Setter for LinkedChannel::GuildId. | |
Static Public Attributes | |
static const LinkedChannel | nullobj |
Uninitialized instance of LinkedChannel. | |
|
noexcept |
Move constructor for LinkedChannel.
discordpp::LinkedChannel::LinkedChannel | ( | const LinkedChannel & | arg0 | ) |
Copy constructor for LinkedChannel.
uint64_t discordpp::LinkedChannel::GuildId | ( | ) | const |
The id of the guild (aka server) that owns the linked channel.
uint64_t discordpp::LinkedChannel::Id | ( | ) | const |
The id of the linked channel.
std::string discordpp::LinkedChannel::Name | ( | ) | const |
The name of the linked channel.
|
inline |
Returns true if the instance contains a valid object.
LinkedChannel & discordpp::LinkedChannel::operator= | ( | const LinkedChannel & | arg0 | ) |
Copy assignment operator for LinkedChannel.
|
noexcept |
Move assignment operator for LinkedChannel.
void discordpp::LinkedChannel::SetGuildId | ( | uint64_t | GuildId | ) |
Setter for LinkedChannel::GuildId.
void discordpp::LinkedChannel::SetId | ( | uint64_t | Id | ) |
Setter for LinkedChannel::Id.
void discordpp::LinkedChannel::SetName | ( | std::string | Name | ) |
Setter for LinkedChannel::Name.
|
static |
Uninitialized instance of LinkedChannel.