mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2025-12-24 00:06:25 +01:00
C nonsense
This commit is contained in:
parent
c6c0aefa4f
commit
12054246a2
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct {
|
typedef struct DiscordRichPresence {
|
||||||
const char* state;
|
const char* state;
|
||||||
const char* details;
|
const char* details;
|
||||||
int64_t startTimestamp;
|
int64_t startTimestamp;
|
||||||
|
|
@ -25,7 +25,7 @@ typedef struct {
|
||||||
int8_t instance;
|
int8_t instance;
|
||||||
} DiscordRichPresence;
|
} DiscordRichPresence;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct DiscordEventHandlers {
|
||||||
void (*ready)();
|
void (*ready)();
|
||||||
void (*disconnected)(int errorCode, const char* message);
|
void (*disconnected)(int errorCode, const char* message);
|
||||||
void (*presenceRequested)();
|
void (*presenceRequested)();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue