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

#include <discordpp.h>

Collaboration diagram for discordpp::ActivitySecrets:
[legend]

Public Member Functions

 ActivitySecrets (ActivitySecrets &&other) noexcept
 Move constructor for ActivitySecrets.
ActivitySecrets & operator= (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.
ActivitySecrets & operator= (const ActivitySecrets &arg0)
 Copy assignment operator for ActivitySecrets.
 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.

Detailed Description

See also
Activity

Definition at line 1030 of file discordpp.h.

Constructor & Destructor Documentation

◆ ActivitySecrets() [1/3]

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

Move constructor for ActivitySecrets.

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

◆ ActivitySecrets() [2/3]

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

Copy constructor for ActivitySecrets.

Here is the call graph for this function:

◆ ActivitySecrets() [3/3]

discordpp::ActivitySecrets::ActivitySecrets ( )
explicit

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.

Here is the caller graph for this function:

◆ operator bool()

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

Returns true if the instance contains a valid object.

Definition at line 1051 of file discordpp.h.

◆ operator=() [1/2]

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

Move assignment operator for ActivitySecrets.

Here is the call graph for this function:

◆ operator=() [2/2]

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

Copy assignment operator for ActivitySecrets.

Here is the call graph for this function:

◆ SetJoin()

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

Setter for ActivitySecrets::Join.

Here is the call graph for this function:

Member Data Documentation

◆ nullobj

const ActivitySecrets discordpp::ActivitySecrets::nullobj
static

Uninitialized instance of ActivitySecrets.

Definition at line 1049 of file discordpp.h.


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