From 58cd3f0b365146607f1cdc4308fa168a493c0631 Mon Sep 17 00:00:00 2001 From: MrKuBu Date: Sun, 3 Dec 2023 17:04:43 +0300 Subject: [PATCH] Const buttons (2 buttons) --- include/discord_rpc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/discord_rpc.h b/include/discord_rpc.h index 9470434..f30f63d 100644 --- a/include/discord_rpc.h +++ b/include/discord_rpc.h @@ -39,6 +39,10 @@ typedef struct DiscordRichPresence { const char* matchSecret; /* max 128 bytes */ const char* joinSecret; /* 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; } DiscordRichPresence;