mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-01-06 22:49:29 +01:00
[Maintenance PR for Legacy Gamedevs] Add party privacy enum (#306)
* Add party privacy enum * Add party privacy enum * Possible unreal working * Cast to int
This commit is contained in:
parent
e4c0c569ec
commit
963aa9f3e5
7 changed files with 37 additions and 1 deletions
|
|
@ -35,6 +35,7 @@ typedef struct DiscordRichPresence {
|
|||
const char* partyId; /* max 128 bytes */
|
||||
int partySize;
|
||||
int partyMax;
|
||||
int partyPrivacy;
|
||||
const char* matchSecret; /* max 128 bytes */
|
||||
const char* joinSecret; /* max 128 bytes */
|
||||
const char* spectateSecret; /* max 128 bytes */
|
||||
|
|
@ -60,6 +61,8 @@ typedef struct DiscordEventHandlers {
|
|||
#define DISCORD_REPLY_NO 0
|
||||
#define DISCORD_REPLY_YES 1
|
||||
#define DISCORD_REPLY_IGNORE 2
|
||||
#define DISCORD_PARTY_PRIVATE 0
|
||||
#define DISCORD_PARTY_PUBLIC 1
|
||||
|
||||
DISCORD_EXPORT void Discord_Initialize(const char* applicationId,
|
||||
DiscordEventHandlers* handlers,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue