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

Detailed Description

See also
Activity

Public Member Functions

 ActivitySecrets (ActivitySecrets &&other) noexcept
 Move constructor for ActivitySecrets.
 
ActivitySecretsoperator= (ActivitySecrets &&other) noexcept
 Move assignment operator for ActivitySecrets.
 
 operator bool () const
 Returns true if the instance contains a valid object.
 
 ActivitySecrets (const ActivitySecrets &arg0)
 Copy constructor for ActivitySecrets.
 
ActivitySecretsoperator= (const ActivitySecrets &arg0)
 Copy assignment operator for ActivitySecrets.
 
std::string Join () const
 A secret string that is shared with users who are accepted into the party so the game knows how to join the user to the party. For example you might specify an internal game server ID or a Discord lobby ID or secret. If specified, must be a string between 2 and 128 characters.
 
void SetJoin (std::string Join)
 Setter for ActivitySecrets::Join.
 

Static Public Attributes

static const ActivitySecrets nullobj
 Uninitialized instance of ActivitySecrets.
 

Constructor & Destructor Documentation

◆ ActivitySecrets() [1/2]

discordpp::ActivitySecrets::ActivitySecrets ( ActivitySecrets && other)
noexcept

Move constructor for ActivitySecrets.

◆ ActivitySecrets() [2/2]

discordpp::ActivitySecrets::ActivitySecrets ( const ActivitySecrets & arg0)

Copy constructor for ActivitySecrets.

Member Function Documentation

◆ Join()

std::string discordpp::ActivitySecrets::Join ( ) const

A secret string that is shared with users who are accepted into the party so the game knows how to join the user to the party. For example you might specify an internal game server ID or a Discord lobby ID or secret. If specified, must be a string between 2 and 128 characters.

◆ operator bool()

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

Returns true if the instance contains a valid object.

◆ operator=() [1/2]

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

Move assignment operator for ActivitySecrets.

◆ operator=() [2/2]

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

Copy assignment operator for ActivitySecrets.

◆ SetJoin()

void discordpp::ActivitySecrets::SetJoin ( std::string Join)

Setter for ActivitySecrets::Join.

Member Data Documentation

◆ nullobj

const ActivitySecrets discordpp::ActivitySecrets::nullobj
static

Uninitialized instance of ActivitySecrets.