mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-03-10 05:02:58 +00:00
clean up sample to just basics for now, start stubbing in lib
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
|
||||
|
||||
static DiscordEventHandlers Handlers;
|
||||
|
||||
void Discord_Initialize(const char* applicationId, DiscordEventHandlers* handlers)
|
||||
{
|
||||
if (handlers) {
|
||||
memcpy(&Handlers, handlers, sizeof(Handlers));
|
||||
}
|
||||
else {
|
||||
memset(&Handlers, 0, sizeof(Handlers));
|
||||
}
|
||||
}
|
||||
|
||||
void Discord_Shutdown()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Discord_UpdatePresence(const DiscordRichPresence* presence)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user