note max sizes

This commit is contained in:
Chris Marsh 2017-07-28 16:06:46 -07:00
parent 1b7f782f57
commit c3c27c730d

View File

@ -6,20 +6,20 @@ extern "C" {
#endif #endif
typedef struct DiscordRichPresence { typedef struct DiscordRichPresence {
const char* state; const char* state; /* max 128 bytes */
const char* details; const char* details; /* max 128 bytes */
int64_t startTimestamp; int64_t startTimestamp;
int64_t endTimestamp; int64_t endTimestamp;
const char* largeImageKey; const char* largeImageKey; /* max 32 bytes */
const char* largeImageText; const char* largeImageText; /* max 128 bytes */
const char* smallImageKey; const char* smallImageKey; /* max 32 bytes */
const char* smallImageText; const char* smallImageText; /* max 128 bytes */
const char* partyId; const char* partyId; /* max 128 bytes */
int partySize; int partySize;
int partyMax; int partyMax;
const char* matchSecret; const char* matchSecret; /* max 128 bytes */
const char* joinSecret; const char* joinSecret; /* max 128 bytes */
const char* spectateSecret; const char* spectateSecret; /* max 128 bytes */
int8_t instance; int8_t instance;
} DiscordRichPresence; } DiscordRichPresence;