Const buttons (2 buttons)

This commit is contained in:
MrKuBu 2023-12-03 17:04:43 +03:00 committed by GitHub
parent 963aa9f3e5
commit 58cd3f0b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,10 @@ typedef struct DiscordRichPresence {
const char* matchSecret; /* max 128 bytes */ const char* matchSecret; /* max 128 bytes */
const char* joinSecret; /* max 128 bytes */ const char* joinSecret; /* max 128 bytes */
const char* spectateSecret; /* max 128 bytes */ const char* spectateSecret; /* max 128 bytes */
const char* button1Label; /* max 32 bytes */
const char* button1Url; /* max 512 bytes */
const char* button2Label; /* max 32 bytes */
const char* button2Url; /* max 512 bytes */
int8_t instance; int8_t instance;
} DiscordRichPresence; } DiscordRichPresence;