Namespace DiscordRPC
Classes
- Assets
Information about the pictures used in the Rich Presence.
- BaseRichPresence
The base rich presence structure
- Button
A Rich Presence button.
- Configuration
Configuration of the current RPC connection
- DiscordRpcClient
A Discord RPC Client which is used to send Rich Presence updates and receive Join events.
- Party
Structure representing the part the player is in.
- RichPresence
The Rich Presence structure that will be sent and received by Discord. Use this class to build your presence and update it appropriately.
- Secrets
The secrets used for Joining. Secrets are obfuscated data of your choosing. They could be match ids, player ids, lobby ids, etc.
To keep security on the up and up, Discord requires that you properly hash/encode/encrypt/put-a-padlock-on-and-swallow-the-key-but-wait-then-how-would-you-open-it your secrets.
You should send discord data that someone else's game client would need to join their friend. If you can't or don't want to support those actions, you don't need to send secrets.
Visit the Rich Presence How-To for more information.
- Timestamps
Structure representing the start and endtimes of a match.
- User
Object representing a Discord user. This is used for join requests.
Structs
- User.AvatarDecorationData
Data for the avatar decoration which can be layered on top of the avatar.
Enums
- ActivityType
Rich Presence activity type
- EventType
The type of event receieved by the RPC. A flag type that can be combined.
- Party.PrivacySetting
Privacy of the party
- StatusDisplayType
Rich Presence Display type
- User.AvatarFormat
Possible formats for avatars
- User.AvatarSize
Possible square sizes of avatars.
- User.Flag
A flag on the user account
- User.PremiumType
Type of premium