Discord Social SDK
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
discordpp::LinkedChannel Class Reference

Detailed Description

Struct that stores information about the channel that a lobby is linked to.

Public Member Functions

 LinkedChannel (LinkedChannel &&other) noexcept
 Move constructor for LinkedChannel.
 
LinkedChanneloperator= (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.
 
LinkedChanneloperator= (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.
 

Constructor & Destructor Documentation

◆ LinkedChannel() [1/2]

discordpp::LinkedChannel::LinkedChannel ( LinkedChannel && other)
noexcept

Move constructor for LinkedChannel.

◆ LinkedChannel() [2/2]

discordpp::LinkedChannel::LinkedChannel ( const LinkedChannel & arg0)

Copy constructor for LinkedChannel.

Member Function Documentation

◆ GuildId()

uint64_t discordpp::LinkedChannel::GuildId ( ) const

The id of the guild (aka server) that owns the linked channel.

◆ Id()

uint64_t discordpp::LinkedChannel::Id ( ) const

The id of the linked channel.

◆ Name()

std::string discordpp::LinkedChannel::Name ( ) const

The name of the linked channel.

◆ operator bool()

discordpp::LinkedChannel::operator bool ( ) const
inline

Returns true if the instance contains a valid object.

◆ operator=() [1/2]

LinkedChannel & discordpp::LinkedChannel::operator= ( const LinkedChannel & arg0)

Copy assignment operator for LinkedChannel.

◆ operator=() [2/2]

LinkedChannel & discordpp::LinkedChannel::operator= ( LinkedChannel && other)
noexcept

Move assignment operator for LinkedChannel.

◆ SetGuildId()

void discordpp::LinkedChannel::SetGuildId ( uint64_t GuildId)

◆ SetId()

void discordpp::LinkedChannel::SetId ( uint64_t Id)

Setter for LinkedChannel::Id.

◆ SetName()

void discordpp::LinkedChannel::SetName ( std::string Name)

Setter for LinkedChannel::Name.

Member Data Documentation

◆ nullobj

const LinkedChannel discordpp::LinkedChannel::nullobj
static

Uninitialized instance of LinkedChannel.