yup
This commit is contained in:
parent
ea64751f70
commit
b1399f9ed5
1 changed files with 0 additions and 1 deletions
|
@ -51,7 +51,6 @@ extern "C" void Discord_UpdatePresence(const DiscordRichPresence* presence)
|
||||||
extern "C" void Discord_Update()
|
extern "C" void Discord_Update()
|
||||||
{
|
{
|
||||||
while (auto frame = MyConnection->Read()) {
|
while (auto frame = MyConnection->Read()) {
|
||||||
printf("got a message %d, %d, %s\n", frame->opcode, frame->length, frame->message);
|
|
||||||
rapidjson::Document d;
|
rapidjson::Document d;
|
||||||
if (frame->length > 0) {
|
if (frame->length > 0) {
|
||||||
d.ParseInsitu(frame->message);
|
d.ParseInsitu(frame->message);
|
||||||
|
|
Loading…
Add table
Reference in a new issue