Rise
The Vieneo Province
Loading...
Searching...
No Matches
discordpp::LinkedChannel Class Reference

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

#include <discordpp.h>

Collaboration diagram for discordpp::LinkedChannel:
[legend]

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.

Detailed Description

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

Definition at line 2365 of file discordpp.h.

Constructor & Destructor Documentation

◆ LinkedChannel() [1/2]

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

Move constructor for LinkedChannel.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LinkedChannel() [2/2]

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

Copy constructor for LinkedChannel.

Here is the call graph for this function:

Member Function Documentation

◆ GuildId()

uint64_t discordpp::LinkedChannel::GuildId ( ) const

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

Here is the caller graph for this function:

◆ Id()

uint64_t discordpp::LinkedChannel::Id ( ) const

The id of the linked channel.

Here is the caller graph for this function:

◆ Name()

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

The name of the linked channel.

Here is the caller graph for this function:

◆ operator bool()

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

Returns true if the instance contains a valid object.

Definition at line 2386 of file discordpp.h.

◆ operator=() [1/2]

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

Copy assignment operator for LinkedChannel.

Here is the call graph for this function:

◆ operator=() [2/2]

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

Move assignment operator for LinkedChannel.

Here is the call graph for this function:

◆ SetGuildId()

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

Setter for LinkedChannel::GuildId.

Here is the call graph for this function:

◆ SetId()

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

Setter for LinkedChannel::Id.

Here is the call graph for this function:

◆ SetName()

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

Setter for LinkedChannel::Name.

Here is the call graph for this function:

Member Data Documentation

◆ nullobj

const LinkedChannel discordpp::LinkedChannel::nullobj
static

Uninitialized instance of LinkedChannel.

Definition at line 2384 of file discordpp.h.


The documentation for this class was generated from the following file: