Commit graph

31 commits

Author SHA1 Message Date
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
Nicolas Adamoglou eee5085e9b Exported Discord_Register and Discord_RegisterSteam (#109)
* Update CMakeLists.txt

* Update and rename src/discord_register.h to include/discord_register.h

* Update CMakeLists.txt

* Update discord_register_win.cpp

* Update discord_register_linux.cpp
2018-02-01 16:42:17 -08:00
Ben Morse 839ba32671 use unambiguous C declaration style 2018-01-05 16:56:08 -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
Florian Zwoch 8990824c9c make ready() to explicitly take no arguments -> ready(void) (#100) 2017-12-26 22:21:32 -08:00
Chris Marsh 1a278528a2 Add discriminator to join request 2017-12-01 14:41:20 -08:00
Chris Marsh 3bdb88d918
Unity ajt fix 2017-11-02 11:59:45 -07:00
Mason Sciotti dafd85c39f Rename avatarUrl -> avatar for API consistency 2017-10-17 13:34:03 -07: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 794bbccd51 Register upgrade (#2)
* Update init to take an optional Steam ID. Add register for steam game. Remove url from cmd line params to launched game.

* Start on a build script
2017-08-30 15:17:47 -07:00
Chris Marsh 1e971e1161 Start on dllification 2017-07-31 15:58:39 -07:00
Chris Marsh c3c27c730d note max sizes 2017-07-28 16:06:46 -07:00
Jason Citron 93d9ba10c2 Fixup event names
- GAME_XXXXX not XXXXX_GAME
- Nuked the WantsPresence event
2017-07-28 00:19:10 -07:00
Chris Marsh bfcfd10baa fix some warnings, format 2017-07-27 16:08:17 -07:00
Chris Marsh f617f3b78d Let's just register in init 2017-07-27 13:29:24 -07:00
Chris Marsh 1f6fd05884 Add registry key to simplify launching 2017-07-27 11:56:19 -07:00
Chris Marsh 7dcc2d45e3 Make that define a cmake option. 2017-07-25 13:40:30 -07:00
Chris Marsh 7a6172a300 Format 2017-07-25 09:27:48 -07:00
Chris Marsh 63058ddf23 Error message cb 2017-07-24 14:58:53 -07:00
Chris Marsh 6ea9c46f77 Rename a thing 2017-07-20 15:59:15 -07:00
Chris Marsh 12054246a2 C nonsense 2017-07-20 13:22:11 -07:00
Chris Marsh c6c0aefa4f Rename 2017-07-19 14:40:54 -07:00
Chris Marsh 0d0485444d Make io thread optional 2017-07-18 09:47:33 -07:00
Chris Marsh 1b65e53da7 Rename some things, stub of async version, download rapidjson in cmake file 2017-07-11 15:59:14 -07:00
Chris Marsh 7c92afb392 clean that out 2017-07-07 14:00:05 -07:00
Chris Marsh e3e2fd72f4 Start on adding update function 2017-07-07 09:41:20 -07:00
Chris Marsh ae13d40b74 blah 2017-06-30 14:37:06 -07:00
Chris Marsh df02787af6 Hey look, I can still do C if I really try. 2017-06-30 14:31:48 -07:00
Chris Marsh 39d8336b06 Moving files around; cleaned up example a little 2017-06-30 12:00:45 -07:00