mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-03-09 23:32:56 +00:00
Rename a thing
This commit is contained in:
@@ -78,6 +78,19 @@ extern "C" void Discord_UpdateConnection()
|
||||
while (Connection->Read(message)) {
|
||||
// todo: do something...
|
||||
printf("Hey, I got a message\n");
|
||||
|
||||
// expect cmd, data, evt, nonce here?
|
||||
|
||||
/*
|
||||
message.FindMember("cmd");
|
||||
message.FindMember("data");
|
||||
message.FindMember("evt");
|
||||
message.FindMember("nonce"); // in responses only
|
||||
|
||||
void(*presenceRequested)();
|
||||
void(*joinGame)(const char* joinSecret);
|
||||
void(*spectateGame)(const char* spectateSecret);
|
||||
*/
|
||||
}
|
||||
|
||||
// writes
|
||||
|
||||
Reference in New Issue
Block a user