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

#include <discordpp.h>

Collaboration diagram for discordpp::ActivityParty:
[legend]

Public Member Functions

 ActivityParty (ActivityParty &&other) noexcept
 Move constructor for ActivityParty.
ActivityParty & operator= (ActivityParty &&other) noexcept
 Move assignment operator for ActivityParty.
 operator bool () const
 Returns true if the instance contains a valid object.
 ActivityParty (const ActivityParty &arg0)
 Copy constructor for ActivityParty.
ActivityParty & operator= (const ActivityParty &arg0)
 Copy assignment operator for ActivityParty.
 ActivityParty ()
std::string Id () const
 Specifies the id of the party. "Party" is used colloquially to refer to a group of players in a shared context. This could be a lobby id, server id, team id, etc.
void SetId (std::string Id)
 Setter for ActivityParty::Id.
int32_t CurrentSize () const
 The number of people currently in the party, must be at least 1.
void SetCurrentSize (int32_t CurrentSize)
 Setter for ActivityParty::CurrentSize.
int32_t MaxSize () const
 The maximum number of people that can be in the party, must be at least 0. When 0, the UI will not display a maximum.
void SetMaxSize (int32_t MaxSize)
 Setter for ActivityParty::MaxSize.
discordpp::ActivityPartyPrivacy Privacy () const
 The privacy of the party.
void SetPrivacy (discordpp::ActivityPartyPrivacy Privacy)
 Setter for ActivityParty::Privacy.

Static Public Attributes

static const ActivityParty nullobj
 Uninitialized instance of ActivityParty.

Detailed Description

See also
Activity

Definition at line 968 of file discordpp.h.

Constructor & Destructor Documentation

◆ ActivityParty() [1/3]

discordpp::ActivityParty::ActivityParty ( ActivityParty && other)
noexcept

Move constructor for ActivityParty.

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

◆ ActivityParty() [2/3]

discordpp::ActivityParty::ActivityParty ( const ActivityParty & arg0)

Copy constructor for ActivityParty.

Here is the call graph for this function:

◆ ActivityParty() [3/3]

discordpp::ActivityParty::ActivityParty ( )
explicit

Member Function Documentation

◆ CurrentSize()

int32_t discordpp::ActivityParty::CurrentSize ( ) const

The number of people currently in the party, must be at least 1.

Here is the caller graph for this function:

◆ Id()

std::string discordpp::ActivityParty::Id ( ) const

Specifies the id of the party. "Party" is used colloquially to refer to a group of players in a shared context. This could be a lobby id, server id, team id, etc.

All party members should specify a RichPresence update using the same party id so that the Discord client knows how to group them together. If specified, must be a string between 2 and 128 characters.

Here is the caller graph for this function:

◆ MaxSize()

int32_t discordpp::ActivityParty::MaxSize ( ) const

The maximum number of people that can be in the party, must be at least 0. When 0, the UI will not display a maximum.

Here is the caller graph for this function:

◆ operator bool()

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

Returns true if the instance contains a valid object.

Definition at line 989 of file discordpp.h.

◆ operator=() [1/2]

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

Move assignment operator for ActivityParty.

Here is the call graph for this function:

◆ operator=() [2/2]

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

Copy assignment operator for ActivityParty.

Here is the call graph for this function:

◆ Privacy()

discordpp::ActivityPartyPrivacy discordpp::ActivityParty::Privacy ( ) const

The privacy of the party.

Here is the caller graph for this function:

◆ SetCurrentSize()

void discordpp::ActivityParty::SetCurrentSize ( int32_t CurrentSize)

Setter for ActivityParty::CurrentSize.

Here is the call graph for this function:

◆ SetId()

void discordpp::ActivityParty::SetId ( std::string Id)

Setter for ActivityParty::Id.

Here is the call graph for this function:

◆ SetMaxSize()

void discordpp::ActivityParty::SetMaxSize ( int32_t MaxSize)

Setter for ActivityParty::MaxSize.

Here is the call graph for this function:

◆ SetPrivacy()

void discordpp::ActivityParty::SetPrivacy ( discordpp::ActivityPartyPrivacy Privacy)

Setter for ActivityParty::Privacy.

Here is the call graph for this function:

Member Data Documentation

◆ nullobj

const ActivityParty discordpp::ActivityParty::nullobj
static

Uninitialized instance of ActivityParty.

Definition at line 987 of file discordpp.h.


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