#include <Activity.h>
◆ Type
Enumerator |
---|
Game | |
Streaming | |
Listening | |
NoActivity | |
◆ Activity() [1/2]
DiscordCPP::Activity::Activity |
( |
| ) |
|
|
default |
◆ Activity() [2/2]
DiscordCPP::Activity::Activity |
( |
std::string | name, |
|
|
Type | type, |
|
|
std::string | url = "" ) |
◆ get_name()
std::string DiscordCPP::Activity::get_name |
( |
| ) |
|
|
inline |
◆ get_type()
Type DiscordCPP::Activity::get_type |
( |
| ) |
|
|
inline |
◆ get_url()
std::string DiscordCPP::Activity::get_url |
( |
| ) |
|
|
inline |
◆ to_json()
json DiscordCPP::Activity::to_json |
( |
| ) |
|
The documentation for this class was generated from the following files: