Commit graph

26 commits

Author SHA1 Message Date
Mason Sciotti 963aa9f3e5
[Maintenance PR for Legacy Gamedevs] Add party privacy enum (#306)
* Add party privacy enum

* Add party privacy enum

* Possible unreal working

* Cast to int
2020-09-21 14:51:48 -07:00
msciotti c59fd6df20
Revert "Choose pipe number on initialize (#250)"
This reverts commit 4824b20f28.
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
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
Felix Yan e7f9396807 Fix a typo in send-presence.c (#144) 2018-03-13 16:58:14 -07:00
Mason Sciotti e8091f5137 Changing kebab case filenames in source to snake case for consistency 2018-02-27 13:33:00 -08:00
Ben Morse b85758ec19 fix decls 2018-01-09 10:41:16 -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
Mason Sciotti dafd85c39f Rename avatarUrl -> avatar for API consistency 2017-10-17 13:34:03 -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 a5a56bcf68 Also do registering on OSX and Linux. 2017-09-14 08:59:32 -07:00
Chris Marsh fa39179be7 Fix up doing builds script, add packaging up results. 2017-09-07 09:05:41 -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 8dab07035f Update example id 2017-08-16 11:48:27 -07:00
Chris Marsh 0271889b2e Allow for disconnect/reconnect. 2017-08-03 10:47:27 -07:00
Chris Marsh f06b187d2d other 64bit warning fix 2017-08-02 17:37:58 -07:00
Chris Marsh 1b7f782f57 register join and spectate handlers too 2017-07-28 13:53:05 -07:00
Chris Marsh 52bdc2714d More complete presence data to test with. 2017-07-28 13:43:43 -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 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 eff657014b Add quit to test shutdown works; empty command to not send presence. 2017-07-25 14:33:12 -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 063a329a0b Wait for READY event for connection. 2017-07-21 13:54:52 -07:00
Chris Marsh 6ea9c46f77 Rename a thing 2017-07-20 15:59:15 -07:00