Discord Social SDK
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
discordpp Namespace Reference

The namespace for the generated Discord SDK bindings. More...

Detailed Description

The namespace for the generated Discord SDK bindings.

Classes

class  Activity
 An Activity represents one "thing" a user is doing on Discord and is part of their rich presence. More...
 
class  ActivityAssets
 Struct which controls what your rich presence looks like in the Discord client. If you don't specify any values, the icon and name of your application will be used as defaults. More...
 
class  ActivityButton
 
class  ActivityInvite
 When one user invites another to join their game on Discord, it will send a message to that user. The SDK will parse those messages for you automatically, and this struct contains all of the relevant invite information which is needed to later accept that invite. More...
 
class  ActivityParty
 
class  ActivitySecrets
 
class  ActivityTimestamps
 
class  AdditionalContent
 Contains information about non-text content in a message that likely cannot be rendered in game such as images, videos, embeds, polls, and more. More...
 
class  AudioDevice
 Represents a single input or output audio device available to the user. More...
 
class  AuthorizationArgs
 Arguments to the Client::Authorize function. More...
 
class  AuthorizationCodeChallenge
 Struct that encapsulates the challenge part of the code verification flow. More...
 
class  AuthorizationCodeVerifier
 Struct that encapsulates both parts of the code verification flow. More...
 
class  Call
 Class that manages an active voice session in a Lobby. More...
 
class  CallInfoHandle
 Convenience class that represents the state of a single Discord call in a lobby. More...
 
class  ChannelHandle
 All messages sent on Discord are done so in a Channel. MessageHandle::ChannelId will contain the ID of the channel a message was sent in, and Client::GetChannelHandle will return an instance of this class. More...
 
class  Client
 The Client class is the main entry point for the Discord SDK. All functionality is exposed through this class. More...
 
class  ClientCreateOptions
 Options for creating a new Client instance. More...
 
class  ClientResult
 Struct that stores information about the result of an SDK function call. More...
 
class  DeviceAuthorizationArgs
 Arguments to the Client::GetTokenFromDevice function. More...
 
class  GuildChannel
 Represents a channel in a guild that the current user is a member of and may be able to be linked to a lobby. More...
 
class  GuildMinimal
 Represents a guild (also knowns as a Discord server), that the current user is a member of, that contains channels that can be linked to a lobby. More...
 
class  LinkedChannel
 Struct that stores information about the channel that a lobby is linked to. More...
 
class  LinkedLobby
 Struct that stores information about the lobby linked to a channel. More...
 
class  LobbyHandle
 A LobbyHandle represents a single lobby in the SDK. A lobby can be thought of as just an arbitrary, developer-controlled group of users that can communicate with each other. More...
 
class  LobbyMemberHandle
 A LobbyMemberHandle represents the state of a single user in a Lobby. More...
 
class  MessageHandle
 A MessageHandle represents a single message received by the SDK. More...
 
class  RelationshipHandle
 A RelationshipHandle represents the relationship between the current user and a target user on Discord. Relationships include friends, blocked users, and friend invites. More...
 
class  UserHandle
 A UserHandle represents a single user on Discord that the SDK knows about and contains basic account information for them such as id, name, and avatar, as well as their "status" information which includes both whether they are online/offline/etc as well as whether they are playing this game. More...
 
class  VADThresholdSettings
 Settings for the void auto detection threshold for picking up activity from a user's mic. More...
 
class  VoiceStateHandle
 A VoiceStateHandle represents the state of a single participant in a Discord voice call. More...
 

Enumerations

enum class  DiscordObjectState { Invalid , Owned }
 Represents the memory state of a Discord object. More...
 
enum class  ActivityActionTypes { Join = 1 , JoinRequest = 5 }
 ActivityActionTypes represents the type of invite being sent to a user. More...
 
enum class  ActivityPartyPrivacy { Private = 0 , Public = 1 }
 Allows your game to control the privacy of the party the user is in. More...
 
enum class  ActivityTypes {
  Playing = 0 , Streaming = 1 , Listening = 2 , Watching = 3 ,
  CustomStatus = 4 , Competing = 5 , HangStatus = 6
}
 Discord RichPresence supports multiple types of activities that a user can be doing. More...
 
enum class  ActivityGamePlatforms {
  Desktop = 1 , Xbox = 2 , Samsung = 4 , IOS = 8 ,
  Android = 16 , Embedded = 32 , PS4 = 64 , PS5 = 128
}
 Represents the type of platforms that an activity invite can be accepted on. More...
 
enum class  ErrorType {
  None = 0 , NetworkError = 1 , HTTPError = 2 , ClientNotReady = 3 ,
  Disabled = 4 , ClientDestroyed = 5 , ValidationError = 6 , Aborted = 7 ,
  AuthorizationFailed = 8 , RPCError = 9
}
 Enum representing various types of errors the SDK returns. More...
 
enum class  HttpStatusCode {
  None = 0 , Continue = 100 , SwitchingProtocols = 101 , Processing = 102 ,
  EarlyHints = 103 , Ok = 200 , Created = 201 , Accepted = 202 ,
  NonAuthoritativeInfo = 203 , NoContent = 204 , ResetContent = 205 , PartialContent = 206 ,
  MultiStatus = 207 , AlreadyReported = 208 , ImUsed = 209 , MultipleChoices = 300 ,
  MovedPermanently = 301 , Found = 302 , SeeOther = 303 , NotModified = 304 ,
  TemporaryRedirect = 307 , PermanentRedirect = 308 , BadRequest = 400 , Unauthorized = 401 ,
  PaymentRequired = 402 , Forbidden = 403 , NotFound = 404 , MethodNotAllowed = 405 ,
  NotAcceptable = 406 , ProxyAuthRequired = 407 , RequestTimeout = 408 , Conflict = 409 ,
  Gone = 410 , LengthRequired = 411 , PreconditionFailed = 412 , PayloadTooLarge = 413 ,
  UriTooLong = 414 , UnsupportedMediaType = 415 , RangeNotSatisfiable = 416 , ExpectationFailed = 417 ,
  MisdirectedRequest = 421 , UnprocessableEntity = 422 , Locked = 423 , FailedDependency = 424 ,
  TooEarly = 425 , UpgradeRequired = 426 , PreconditionRequired = 428 , TooManyRequests = 429 ,
  RequestHeaderFieldsTooLarge = 431 , InternalServerError = 500 , NotImplemented = 501 , BadGateway = 502 ,
  ServiceUnavailable = 503 , GatewayTimeout = 504 , HttpVersionNotSupported = 505 , VariantAlsoNegotiates = 506 ,
  InsufficientStorage = 507 , LoopDetected = 508 , NotExtended = 510 , NetworkAuthorizationRequired = 511
}
 Enum that represents the various HTTP status codes that can be returned. More...
 
enum class  AuthenticationCodeChallengeMethod { S256 = 0 }
 Represents the crypto method used to generate a code challenge. More...
 
enum class  IntegrationType { GuildInstall = 0 , UserInstall = 1 }
 Represents the type of integration the app will be installed as. More...
 
enum class  AdditionalContentType {
  Other = 0 , Attachment = 1 , Poll = 2 , VoiceMessage = 3 ,
  Thread = 4 , Embed = 5 , Sticker = 6
}
 Represents the type of additional content contained in a message. More...
 
enum class  AudioSystem { Standard = 0 , Game = 1 }
 The Discord Voice audio system to use. More...
 
enum class  AudioModeType { MODE_UNINIT = 0 , MODE_VAD = 1 , MODE_PTT = 2 }
 Represents whether a voice call is using push to talk or auto voice detection. More...
 
enum class  ChannelType {
  GuildText = 0 , Dm = 1 , GuildVoice = 2 , GroupDm = 3 ,
  GuildCategory = 4 , GuildNews = 5 , GuildStore = 6 , GuildNewsThread = 10 ,
  GuildPublicThread = 11 , GuildPrivateThread = 12 , GuildStageVoice = 13 , GuildDirectory = 14 ,
  GuildForum = 15 , GuildMedia = 16 , Lobby = 17 , EphemeralDm = 18
}
 Enum that represents the various channel types on Discord. More...
 
enum class  RelationshipType {
  None = 0 , Friend = 1 , Blocked = 2 , PendingIncoming = 3 ,
  PendingOutgoing = 4 , Implicit = 5 , Suggestion = 6
}
 Enum that represents the possible types of relationships that can exist between two users. More...
 
enum class  StatusType {
  Online = 0 , Offline = 1 , Blocked = 2 , Idle = 3 ,
  Dnd = 4 , Invisible = 5 , Streaming = 6 , Unknown = 7
}
 Enum that specifies the various online statuses for a user. More...
 
enum class  DisclosureTypes { MessageDataVisibleOnDiscord = 3 }
 Enum that represents various informational disclosures that Discord may make to users, so that the game can identity them and customize their rendering as desired. More...
 
enum class  AuthorizationTokenType { User = 0 , Bearer = 1 }
 Represents the type of auth token used by the SDK, either the normal tokens produced by the Discord desktop app, or an oauth2 bearer token. Only the latter can be used by the SDK. More...
 
enum class  AuthenticationExternalAuthType {
  OIDC = 0 , EpicOnlineServicesAccessToken = 1 , EpicOnlineServicesIdToken = 2 , SteamSessionTicket = 3 ,
  UnityServicesIdToken = 4
}
 Represents the various identity providers that can be used to authenticate a provisional account user for public clients. More...
 
enum class  LoggingSeverity {
  Verbose = 1 , Info = 2 , Warning = 3 , Error = 4 ,
  None = 5
}
 Enum that represents the various log levels supported by the SDK. More...
 
enum class  RelationshipGroupType { OnlinePlayingGame = 0 , OnlineElsewhere = 1 , Offline = 2 }
 Enum that represents the logical groups of relationships based on online status and game activity. More...
 

Functions

void RunCallbacks ()
 
const char * EnumToString (discordpp::ActivityActionTypes value)
 Converts a discordpp::ActivityActionTypes to a string.
 
const char * EnumToString (discordpp::ActivityPartyPrivacy value)
 Converts a discordpp::ActivityPartyPrivacy to a string.
 
const char * EnumToString (discordpp::ActivityTypes value)
 Converts a discordpp::ActivityTypes to a string.
 
const char * EnumToString (discordpp::ActivityGamePlatforms value)
 Converts a discordpp::ActivityGamePlatforms to a string.
 
const char * EnumToString (discordpp::ErrorType value)
 Converts a discordpp::ErrorType to a string.
 
const char * EnumToString (discordpp::HttpStatusCode value)
 Converts a discordpp::HttpStatusCode to a string.
 
const char * EnumToString (discordpp::AuthenticationCodeChallengeMethod value)
 Converts a discordpp::AuthenticationCodeChallengeMethod to a string.
 
const char * EnumToString (discordpp::IntegrationType value)
 Converts a discordpp::IntegrationType to a string.
 
const char * EnumToString (discordpp::AdditionalContentType value)
 Converts a discordpp::AdditionalContentType to a string.
 
const char * EnumToString (discordpp::AudioSystem value)
 Converts a discordpp::AudioSystem to a string.
 
const char * EnumToString (discordpp::Call::Error value)
 Converts a discordpp::Call::Error to a string.
 
const char * EnumToString (discordpp::AudioModeType value)
 Converts a discordpp::AudioModeType to a string.
 
const char * EnumToString (discordpp::Call::Status value)
 Converts a discordpp::Call::Status to a string.
 
const char * EnumToString (discordpp::ChannelType value)
 Converts a discordpp::ChannelType to a string.
 
const char * EnumToString (discordpp::RelationshipType value)
 Converts a discordpp::RelationshipType to a string.
 
const char * EnumToString (discordpp::UserHandle::AvatarType value)
 Converts a discordpp::UserHandle::AvatarType to a string.
 
const char * EnumToString (discordpp::StatusType value)
 Converts a discordpp::StatusType to a string.
 
const char * EnumToString (discordpp::DisclosureTypes value)
 Converts a discordpp::DisclosureTypes to a string.
 
const char * EnumToString (discordpp::Client::Error value)
 Converts a discordpp::Client::Error to a string.
 
const char * EnumToString (discordpp::Client::Status value)
 Converts a discordpp::Client::Status to a string.
 
const char * EnumToString (discordpp::Client::Thread value)
 Converts a discordpp::Client::Thread to a string.
 
const char * EnumToString (discordpp::AuthorizationTokenType value)
 Converts a discordpp::AuthorizationTokenType to a string.
 
const char * EnumToString (discordpp::AuthenticationExternalAuthType value)
 Converts a discordpp::AuthenticationExternalAuthType to a string.
 
const char * EnumToString (discordpp::LoggingSeverity value)
 Converts a discordpp::LoggingSeverity to a string.
 
const char * EnumToString (discordpp::RelationshipGroupType value)
 Converts a discordpp::RelationshipGroupType to a string.
 

Enumeration Type Documentation

◆ ActivityActionTypes

enum class discordpp::ActivityActionTypes
strong

ActivityActionTypes represents the type of invite being sent to a user.

There are essentially two types of invites: 1: A user with an existing activity party can invite another user to join that existing party 2: A user can request to join the existing activity party of another user

See https://discord.com/developers/docs/rich-presence/overview for more information.

Enumerator
Join 

Join.

JoinRequest 

JoinRequest.

◆ ActivityGamePlatforms

Represents the type of platforms that an activity invite can be accepted on.

Enumerator
Desktop 

Desktop.

Xbox 

Xbox.

Samsung 

Samsung.

IOS 

IOS.

Android 16 

Android.

Embedded 32 

Embedded.

PS4 64 

PS4.

PS5 128 

PS5.

◆ ActivityPartyPrivacy

Allows your game to control the privacy of the party the user is in.

Enumerator
Private 

The party is private (or unknown), which means that the user is in a party but it is not joinable without sending a request to join the party.

This is the default value. You will also receive this value when receiving other users' activities as the party privacy for other users is not exposed.

Public 

The party is public, which means that the user is in a party which could be joinable by either friends or mutual voice participants without sending a request to join the party. This depends on a user's desired Discord account privacy settings.

◆ ActivityTypes

enum class discordpp::ActivityTypes
strong

Discord RichPresence supports multiple types of activities that a user can be doing.

For the SDK, the only activity type that is really relevant is Playing. The others are provided for completeness.

See https://discord.com/developers/docs/rich-presence/overview for more information.

Enumerator
Playing 

Playing.

Streaming 

Streaming.

Listening 

Listening.

Watching 

Watching.

CustomStatus 

CustomStatus.

Competing 

Competing.

HangStatus 

HangStatus.

◆ AdditionalContentType

Represents the type of additional content contained in a message.

Enumerator
Other 

Other.

Attachment 

Attachment.

Poll 

Poll.

VoiceMessage 

VoiceMessage.

Thread 

Thread.

Embed 

Embed.

Sticker 

Sticker.

◆ AudioModeType

enum class discordpp::AudioModeType
strong

Represents whether a voice call is using push to talk or auto voice detection.

Enumerator
MODE_UNINIT 

MODE_UNINIT.

MODE_VAD 

MODE_VAD.

MODE_PTT 

MODE_PTT.

◆ AudioSystem

enum class discordpp::AudioSystem
strong

The Discord Voice audio system to use.

Enumerator
Standard 

Use the standard audio system.

Game 

Use the game audio system.

◆ AuthenticationCodeChallengeMethod

Represents the crypto method used to generate a code challenge.

The only method used by the SDK is sha256.

Enumerator
S256 

S256.

◆ AuthenticationExternalAuthType

Represents the various identity providers that can be used to authenticate a provisional account user for public clients.

Enumerator
OIDC 

OIDC.

EpicOnlineServicesAccessToken 

EpicOnlineServicesAccessToken.

EpicOnlineServicesIdToken 

EpicOnlineServicesIdToken.

SteamSessionTicket 

SteamSessionTicket.

UnityServicesIdToken 

UnityServicesIdToken.

◆ AuthorizationTokenType

Represents the type of auth token used by the SDK, either the normal tokens produced by the Discord desktop app, or an oauth2 bearer token. Only the latter can be used by the SDK.

Enumerator
User 

User.

Bearer 

Bearer.

◆ ChannelType

enum class discordpp::ChannelType
strong

Enum that represents the various channel types on Discord.

For more information see: https://discord.com/developers/docs/resources/channel

Enumerator
GuildText 

GuildText.

Dm 

Dm.

GuildVoice 

GuildVoice.

GroupDm 

GroupDm.

GuildCategory 

GuildCategory.

GuildNews 

GuildNews.

GuildStore 

GuildStore.

GuildNewsThread 10 

GuildNewsThread.

GuildPublicThread 11 

GuildPublicThread.

GuildPrivateThread 12 

GuildPrivateThread.

GuildStageVoice 13 

GuildStageVoice.

GuildDirectory 14 

GuildDirectory.

GuildForum 15 

GuildForum.

GuildMedia 16 

GuildMedia.

Lobby 17 

Lobby.

EphemeralDm 18 

EphemeralDm.

◆ DisclosureTypes

enum class discordpp::DisclosureTypes
strong

Enum that represents various informational disclosures that Discord may make to users, so that the game can identity them and customize their rendering as desired.

See MessageHandle for more details.

Enumerator
MessageDataVisibleOnDiscord 

This disclosure type happens the first time a user sends a message in game, and that message will be able to be viewed on Discord, so the user knows their content is being copied out of the game.

◆ DiscordObjectState

enum class discordpp::DiscordObjectState
strong

Represents the memory state of a Discord object.

Enumerator
Invalid 

The object has been freed.

Owned 

The object is owned by the C++ wrapper and methods can be called on it.

◆ ErrorType

enum class discordpp::ErrorType
strong

Enum representing various types of errors the SDK returns.

Enumerator
None 

No error, the operation was successful.

NetworkError 

The user is offline or there was some network issue that prevented an underlying HTTP call from succeeding.

HTTPError 

An HTTP call was made to Discord's servers but a non success HTTP status code was returned. In some cases this may be retryable, and if so ClientResult::Retryable will be true. In most cases though the failure is due to a validation or permissions error, and the request is not retryable. ClientResult::Error and ClientResult::ErrorCode will have more information.

ClientNotReady 

An operation such as sending a friend request or joining a lobby was attempted but the Client is not yet ready. Wait for Client::Status to change to Client::Status::Ready before trying again.

Also be sure to call Client::Connect to begin the process of connecting to Discord's servers, otherwise the Client will never become ready.

Disabled 

An operation was temporarily disabled for stability reasons.

ClientDestroyed 

The Client has been destroyed and so this operation cannot complete.

ValidationError 

Used when an SDK method is called but the inputs don't pass local validation. For example if one attempts to accept a friend request when there is no pending friend request for that user, this ErrorType would be used.

The specific validation error will be included in the error field, and no other ClientResult fields will be set.

Aborted 

The user or developer aborted an operation, such as an authorization flow.

AuthorizationFailed 

An authorization function failed, but not necessarily as the result of an HTTP call that returned an error.

RPCError 

An RPC call was made to Discord's desktop application, but it returned a non-success result. The error and errorCode fields should both be set with more information.

◆ HttpStatusCode

enum class discordpp::HttpStatusCode
strong

Enum that represents the various HTTP status codes that can be returned.

You can read more about these at: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status For convenience, we have defined a couple of enum values that are non-standard HTTP codes to represent certain types of errors.

Enumerator
None 

None.

Continue 100 

Continue.

SwitchingProtocols 101 

SwitchingProtocols.

Processing 102 

Processing.

EarlyHints 103 

EarlyHints.

Ok 200 

Ok.

Created 201 

Created.

Accepted 202 

Accepted.

NonAuthoritativeInfo 203 

NonAuthoritativeInfo.

NoContent 204 

NoContent.

ResetContent 205 

ResetContent.

PartialContent 206 

PartialContent.

MultiStatus 207 

MultiStatus.

AlreadyReported 208 

AlreadyReported.

ImUsed 209 

ImUsed.

MultipleChoices 300 

MultipleChoices.

MovedPermanently 301 

MovedPermanently.

Found 302 

Found.

SeeOther 303 

SeeOther.

NotModified 304 

NotModified.

TemporaryRedirect 307 

TemporaryRedirect.

PermanentRedirect 308 

PermanentRedirect.

BadRequest 400 

BadRequest.

Unauthorized 401 

Unauthorized.

PaymentRequired 402 

PaymentRequired.

Forbidden 403 

Forbidden.

NotFound 404 

NotFound.

MethodNotAllowed 405 

MethodNotAllowed.

NotAcceptable 406 

NotAcceptable.

ProxyAuthRequired 407 

ProxyAuthRequired.

RequestTimeout 408 

RequestTimeout.

Conflict 409 

Conflict.

Gone 410 

Gone.

LengthRequired 411 

LengthRequired.

PreconditionFailed 412 

PreconditionFailed.

PayloadTooLarge 413 

PayloadTooLarge.

UriTooLong 414 

UriTooLong.

UnsupportedMediaType 415 

UnsupportedMediaType.

RangeNotSatisfiable 416 

RangeNotSatisfiable.

ExpectationFailed 417 

ExpectationFailed.

MisdirectedRequest 421 

MisdirectedRequest.

UnprocessableEntity 422 

UnprocessableEntity.

Locked 423 

Locked.

FailedDependency 424 

FailedDependency.

TooEarly 425 

TooEarly.

UpgradeRequired 426 

UpgradeRequired.

PreconditionRequired 428 

PreconditionRequired.

TooManyRequests 429 

TooManyRequests.

RequestHeaderFieldsTooLarge 431 

RequestHeaderFieldsTooLarge.

InternalServerError 500 

InternalServerError.

NotImplemented 501 

NotImplemented.

BadGateway 502 

BadGateway.

ServiceUnavailable 503 

ServiceUnavailable.

GatewayTimeout 504 

GatewayTimeout.

HttpVersionNotSupported 505 

HttpVersionNotSupported.

VariantAlsoNegotiates 506 

VariantAlsoNegotiates.

InsufficientStorage 507 

InsufficientStorage.

LoopDetected 508 

LoopDetected.

NotExtended 510 

NotExtended.

NetworkAuthorizationRequired 511 

NetworkAuthorizationRequired.

◆ IntegrationType

enum class discordpp::IntegrationType
strong

Represents the type of integration the app will be installed as.

Enumerator
GuildInstall 

GuildInstall.

UserInstall 

UserInstall.

◆ LoggingSeverity

enum class discordpp::LoggingSeverity
strong

Enum that represents the various log levels supported by the SDK.

Enumerator
Verbose 

Verbose.

Info 

Info.

Warning 

Warning.

Error 

Error.

None 

None.

◆ RelationshipGroupType

Enum that represents the logical groups of relationships based on online status and game activity.

Enumerator
OnlinePlayingGame 

Users who are online and currently playing the game.

OnlineElsewhere 

Users who are online but not playing the game.

Offline 

Users who are offline.

◆ RelationshipType

enum class discordpp::RelationshipType
strong

Enum that represents the possible types of relationships that can exist between two users.

Enumerator
None 

The user has no relationship with the other user.

Friend 

The user is friends with the other user.

Blocked 

The current user has blocked the target user, and so certain actions such as sending messages between these users will not work.

PendingIncoming 

The current user has received a friend request from the target user, but it is not yet accepted.

PendingOutgoing 

The current user has sent a friend request to the target user, but it is not yet accepted.

Implicit 

The Implicit type is documented for visibility, but should be unused in the SDK.

Suggestion 

The Suggestion type is documented for visibility, but should be unused in the SDK.

◆ StatusType

enum class discordpp::StatusType
strong

Enum that specifies the various online statuses for a user.

Generally a user is online or offline, but in Discord users are able to further customize their status such as turning on "Do not Disturb" mode or "Dnd" to silence notifications.

Enumerator
Online 

The user is online and recently active.

Offline 

The user is offline and not connected to Discord.

Blocked 

Blocked.

Idle 

The user is online, but has not been active for a while and may be away from their computer.

Dnd 

The user is online, but wishes to suppress notifications for the time being.

Invisible 

The user is online, but wishes to appear as if they are offline to other users.

Streaming 

The user is online and is actively streaming content.

Unknown 

Unknown.

Function Documentation

◆ EnumToString() [1/25]

const char * discordpp::EnumToString ( discordpp::ActivityActionTypes value)
inline

Converts a discordpp::ActivityActionTypes to a string.

◆ EnumToString() [2/25]

const char * discordpp::EnumToString ( discordpp::ActivityGamePlatforms value)
inline

Converts a discordpp::ActivityGamePlatforms to a string.

◆ EnumToString() [3/25]

const char * discordpp::EnumToString ( discordpp::ActivityPartyPrivacy value)
inline

Converts a discordpp::ActivityPartyPrivacy to a string.

◆ EnumToString() [4/25]

const char * discordpp::EnumToString ( discordpp::ActivityTypes value)
inline

Converts a discordpp::ActivityTypes to a string.

◆ EnumToString() [5/25]

const char * discordpp::EnumToString ( discordpp::AdditionalContentType value)
inline

Converts a discordpp::AdditionalContentType to a string.

◆ EnumToString() [6/25]

const char * discordpp::EnumToString ( discordpp::AudioModeType value)
inline

Converts a discordpp::AudioModeType to a string.

◆ EnumToString() [7/25]

const char * discordpp::EnumToString ( discordpp::AudioSystem value)
inline

Converts a discordpp::AudioSystem to a string.

◆ EnumToString() [8/25]

const char * discordpp::EnumToString ( discordpp::AuthenticationCodeChallengeMethod value)
inline

◆ EnumToString() [9/25]

const char * discordpp::EnumToString ( discordpp::AuthenticationExternalAuthType value)
inline

◆ EnumToString() [10/25]

const char * discordpp::EnumToString ( discordpp::AuthorizationTokenType value)
inline

Converts a discordpp::AuthorizationTokenType to a string.

◆ EnumToString() [11/25]

const char * discordpp::EnumToString ( discordpp::Call::Error value)
inline

Converts a discordpp::Call::Error to a string.

◆ EnumToString() [12/25]

const char * discordpp::EnumToString ( discordpp::Call::Status value)
inline

Converts a discordpp::Call::Status to a string.

◆ EnumToString() [13/25]

const char * discordpp::EnumToString ( discordpp::ChannelType value)
inline

Converts a discordpp::ChannelType to a string.

◆ EnumToString() [14/25]

const char * discordpp::EnumToString ( discordpp::Client::Error value)
inline

Converts a discordpp::Client::Error to a string.

◆ EnumToString() [15/25]

const char * discordpp::EnumToString ( discordpp::Client::Status value)
inline

Converts a discordpp::Client::Status to a string.

◆ EnumToString() [16/25]

const char * discordpp::EnumToString ( discordpp::Client::Thread value)
inline

Converts a discordpp::Client::Thread to a string.

◆ EnumToString() [17/25]

const char * discordpp::EnumToString ( discordpp::DisclosureTypes value)
inline

Converts a discordpp::DisclosureTypes to a string.

◆ EnumToString() [18/25]

const char * discordpp::EnumToString ( discordpp::ErrorType value)
inline

Converts a discordpp::ErrorType to a string.

◆ EnumToString() [19/25]

const char * discordpp::EnumToString ( discordpp::HttpStatusCode value)
inline

Converts a discordpp::HttpStatusCode to a string.

◆ EnumToString() [20/25]

const char * discordpp::EnumToString ( discordpp::IntegrationType value)
inline

Converts a discordpp::IntegrationType to a string.

◆ EnumToString() [21/25]

const char * discordpp::EnumToString ( discordpp::LoggingSeverity value)
inline

Converts a discordpp::LoggingSeverity to a string.

◆ EnumToString() [22/25]

const char * discordpp::EnumToString ( discordpp::RelationshipGroupType value)
inline

Converts a discordpp::RelationshipGroupType to a string.

◆ EnumToString() [23/25]

const char * discordpp::EnumToString ( discordpp::RelationshipType value)
inline

Converts a discordpp::RelationshipType to a string.

◆ EnumToString() [24/25]

const char * discordpp::EnumToString ( discordpp::StatusType value)
inline

Converts a discordpp::StatusType to a string.

◆ EnumToString() [25/25]

const char * discordpp::EnumToString ( discordpp::UserHandle::AvatarType value)
inline

Converts a discordpp::UserHandle::AvatarType to a string.

◆ RunCallbacks()

void discordpp::RunCallbacks ( )
inline

Runs pending callbacks from the Discord SDK.

You should call this function periodically to process callbacks, e.g. once per frame.