Commit graph

152 commits

Author SHA1 Message Date
Chris Marsh
aa79c70bf9 Adding MIT license. 2017-11-01 15:25:14 -07:00
Chris Marsh
a089aab53e Update unity. 2017-10-17 13:34:03 -07:00
Mason Sciotti
dafd85c39f Rename avatarUrl -> avatar for API consistency 2017-10-17 13:34:03 -07:00
SK83RJOSH
b1d6a7c0fc Normalize white-space 2017-10-17 09:37:56 -07:00
SK83RJOSH
e4b3ef63b7 Added request to join functionality 2017-10-17 09:37:56 -07:00
Chris Marsh
86ca320cb9 These should have been extern C. 2017-10-13 10:02:12 -07:00
Chris Marsh
6cdc830544 Missed a couple wanrings. Build example dll 2017-10-12 16:14:16 -07:00
Chris Marsh
990c8d4be6 Enable warnings, clang edition. 2017-10-12 16:08:08 -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
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
Josh Wood
25b6f1dcde Miscellaneous Unity Fixes (#3)
* Use simplified attribute names and ensure function calls are made with CallingConvention.Cdecl

* Remove unused imports
2017-09-28 08:15:15 -07:00
Chris Marsh
e7cdfaa64e I knew I shouldn't have checked in this dll 2017-09-21 14:04:46 -07:00
Chris Marsh
a5a56bcf68 Also do registering on OSX and Linux. 2017-09-14 08:59:32 -07:00
Chris Marsh
11e74bca5e update dll 2017-09-07 16:16:58 -07:00
Chris Marsh
fb87e7c193 ReadFile and WriteFile really want to report how many bytes were read/written. 2017-09-07 16:16:34 -07:00
Chris Marsh
19abe80449 Add a few more null checks. 2017-09-07 09:23:35 -07:00
Chris Marsh
fa39179be7 Fix up doing builds script, add packaging up results. 2017-09-07 09:05:41 -07:00
Chris Marsh
3566190a01 Mention unreal example in the readme 2017-09-06 14:28:49 -07:00
Chris Marsh
592f134d80 format 2017-09-06 14:27:52 -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
8bceae0a3a autoformat missed these before? 2017-08-29 12:42:10 -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
5882823830 OSX build fix 2017-08-21 12:51:38 -07:00
Chris Marsh
4dcb4afd2e Update presence 2017-08-21 10:12:19 -07:00
Chris Marsh
6dc12b82c6 Actually hook up callbacks 2017-08-21 10:12:19 -07:00
Chris Marsh
432166ef1d Expose all the callback events, hook up connect/disconnect events in example 2017-08-21 10:12:19 -07:00
Chris Marsh
bd995f047d change to a UObject 2017-08-21 10:12:18 -07:00
Chris Marsh
63b467f81d wip make plugin do stuff 2017-08-21 10:12:18 -07:00
Chris Marsh
9c6495ab3e Toggleable connected message 2017-08-21 10:12:18 -07:00
Chris Marsh
21eb1e459b Somehow these settings were lost? 2017-08-21 10:12:18 -07:00
Chris Marsh
ff24776107 More plugin 2017-08-21 10:12:18 -07:00
Chris Marsh
70cd486e13 Start on a Discord rpc unreal plugin 2017-08-21 10:12:18 -07:00
Chris Marsh
7ca912a5ac Adding example ui 2017-08-21 10:12:18 -07:00
Chris Marsh
10383339cc Create unreal template app 2017-08-21 10:12:18 -07:00
Mason Sciotti
0144c8200c RPC SET_ACTIVITY payload documentation fixes
* `pid` is a mandatory field of your application's process id
* `data` -> `args`
2017-08-18 15:32:25 -07:00
Mason Sciotti
9b07431476 Incorrect RPC payload argument name 2017-08-18 15:07:13 -07:00
Mason Sciotti
ad86b14b79 Added documentation link to readme 2017-08-16 14:00:00 -07:00
Mason Sciotti
93510d492e Delete rich-presence-guide.md
Removing outdated documentation
2017-08-16 13:58:54 -07:00
Chris Marsh
8dab07035f Update example id 2017-08-16 11:48:27 -07:00
Mason Sciotti
b87c6c9b5b Renamed hard mode integration. Outlined subscribing to events 2017-08-07 16:59:52 -07:00
Mason Sciotti
f45eb6c443 Clarified partyID and timestamps 2017-08-07 16:12:54 -07:00
Mason Sciotti
759af3a89e Merge branch 'master' of github.com:hammerandchisel/discord-rpc 2017-08-07 13:43:26 -07:00
Mason Sciotti
d102b33ed3 Added rpc-only documentation 2017-08-07 13:43:18 -07:00
Mason Sciotti
c0899fd512 Properly link to documentation dashboard image 2017-08-07 11:25:55 -07:00
Mason Sciotti
dbb7b626b0 Added documentation guide + images 2017-08-07 11:00:57 -07:00
Chris Marsh
88f47486cb update dll 2017-08-03 10:51:06 -07:00
Chris Marsh
0271889b2e Allow for disconnect/reconnect. 2017-08-03 10:47:27 -07:00
Chris Marsh
54bef63d67 Update readme to point out other demo 2017-08-03 10:24:08 -07:00
Chris Marsh
c82cc94538 UI thing 2017-08-03 10:15:22 -07:00