From cec56647066f4e9d7aacb1a98be377729bb1d0d1 Mon Sep 17 00:00:00 2001 From: MrKuBu Date: Sun, 3 Dec 2023 17:10:18 +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;