msciotti
2f52c24f6d
Get pipe from base connection instance
2019-01-04 14:11:09 -08:00
msciotti
d5a342c7bb
Choose pipe number on initialize
2019-01-04 14:10:56 -08:00
Florian Spieß
dd47c7c66d
Improve handling of disconnects and reconnects ( #228 )
...
* Check response 0 on disconnect
From recv(): The return value will be 0 when the peer has performed an orderly shutdown
* Add persistent presence and handlers
* Use buffer instead of raw struct
* Clear presence data on shutdown
* Remove CurrentPresence and add boolean instead
This removes the need for having 2 big buffers in favor of using a small boolean
2018-11-16 10:41:49 -08:00
Sleepy Flower Girl
7c41a8ec19
Fixed issue with Discord RPC not updating presence during shutdown ( #189 )
2018-06-07 16:10:40 -07:00
Ted John
ba9fe00c4d
Dynamically create IoThread... ( #179 )
...
So that it doesn't get deleted before Discord is destroyed.
2018-05-16 13:21:16 -07: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
Mason Sciotti
be8a8e9380
ACTUALLY register the handlers on init
2018-03-29 14:33:46 -07:00
Mason Sciotti
087282cd4b
Dynamic Event Handler Registration ( #135 )
...
- Discord_RegisterHandlers() exported
- C# wrapper updated
- Dynamically sub/unsub to events
- Better mutex locking, for safety!
2018-03-23 10:25:28 -07:00
Mason Sciotti
e8091f5137
Changing kebab case filenames in source to snake case for consistency
2018-02-27 13:33:00 -08:00