22 Commits

Author SHA1 Message Date
msciotti
c59fd6df20
Revert "Choose pipe number on initialize (#250)"
This reverts commit 4824b20f28b1ebffb2a57881684ef87f76659a6c.
2019-01-24 13:23:35 -08:00
Mason Sciotti
4824b20f28
Choose pipe number on initialize (#250)
* Choose pipe number on initialize

* Get pipe from base connection instance

* UE4 support

* Warnings as errors yelling

* Fix windows connection

* Oops all variables

* maybe this fixes it

* This one actually works!!!!

* Fix double function declaration
2019-01-14 00:16:22 -08:00
Michał Janiszewski
ac2d064cb0 Flatten the condition to get rid of empty branch (#247) 2018-11-06 14:48:59 -08:00
Mason Sciotti
64027b336f
Adding user object to READY event (#159)
* Pass the READY event data down in onConnect

* Changes made for UE4 and Unity wrappers

* Changing object name from joinRequest to DiscordUser
2018-04-16 10:25:44 -07:00
Chris Marsh
6fa00223ad Enable all warnings, turn the noisy ones back off, fix the others. 2017-10-12 15:39:31 -07:00
Chris Marsh
0271889b2e Allow for disconnect/reconnect. 2017-08-03 10:47:27 -07:00
Chris Marsh
7324ae890c squelch warnings in 64bit compile 2017-08-02 14:56:39 -07:00
Chris Marsh
120fe1b069 Make these use my helper functions 2017-07-31 15:40:31 -07:00
Chris Marsh
d5e6c4c11a track open/close state in connection, disconnect on read error, clarify error codes a little 2017-07-31 15:38:12 -07:00
Chris Marsh
ef60ec40c3 Do/wrap error checking around json reading 2017-07-28 10:03:05 -07:00
Chris Marsh
7c07dba3f7 Handle initial connect failure better. 2017-07-25 11:41:12 -07:00
Chris Marsh
7a6172a300 Format 2017-07-25 09:27:48 -07:00
Chris Marsh
866e6d1104 Clean up this allocation junk 2017-07-25 09:06:48 -07:00
Chris Marsh
38c0599380 Just use stack allocations in parsing by default. 2017-07-24 14:59:45 -07:00
Chris Marsh
88ab85c81e Rename, move some json stuff to header 2017-07-24 10:54:47 -07:00
Chris Marsh
063a329a0b Wait for READY event for connection. 2017-07-21 13:54:52 -07:00
Chris Marsh
79d70b8bae Let's use rapidjson instead of roll-your-own json. Added helpers to keep allocations minimized. 2017-07-20 13:24:18 -07:00
Chris Marsh
0d6282fe33 send a ping to test 2017-07-18 16:06:07 -07:00
Chris Marsh
29641da939 clean out simplest version 2017-07-18 14:31:24 -07:00
Chris Marsh
444e10acaf Don't need queue here 2017-07-17 15:42:06 -07:00
Chris Marsh
0f10ebff43 wip what layer some things should be in, mostly async now 2017-07-17 14:49:31 -07:00
Chris Marsh
9dc93f64b8 wip 2017-07-17 09:28:54 -07:00