Michał Janiszewski
7e0480e2ef
Apply formatting ( #178 )
2018-05-14 09:25:17 -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
Mason Sciotti
453222075b
partyMax is mandatory if partySize is included ( #122 )
2018-02-12 13:44:49 -08:00
Ben Morse
6a59509b7b
add Discord_ClearPresence()
( #104 )
...
send-presence example updated - start a line with 'c' to toggle
whether presence information is sent or not.
Added ClearPresence to .cs bindings
Added ClearPresence to UE4 blueprint class.
2018-01-05 15:17:23 -08:00
Chris Marsh
990c8d4be6
Enable warnings, clang edition.
2017-10-12 16:08:08 -07:00
Chris Marsh
39ff0bf3e4
Ask to join ( #4 )
...
This adds a new callback `joinRequest` and a new API function `Discord_Respond` to reply to it.
2017-10-12 13:06:55 -07:00
Chris Marsh
4cf8ca5670
Remove dep on rapidjson/internal
2017-08-28 10:43:36 -07:00
Chris Marsh
e07806424b
copy-n-paste bug
2017-08-28 10:02:37 -07:00
Chris Marsh
ee11358d7f
null or empty strings should be omitted
2017-08-02 14:57:02 -07:00
Chris Marsh
98852fba82
Wrap json writer the same way I did reader. More RAII for json writing so I'm less likely to mess it up again.
2017-07-28 13:42:58 -07:00
Jason Citron
6338a572d3
Size key was missing from the party array
2017-07-27 23:36:22 -07:00
Chris Marsh
7a6172a300
Format
2017-07-25 09:27: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
449584b9c9
Register for events for our three callbacks
2017-07-21 15:42:59 -07:00
Chris Marsh
827c056602
I like this better over here.
2017-07-20 15:08:34 -07:00
Chris Marsh
fa437ad897
Fix up sending presence format
2017-07-20 14:59:32 -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