Commit graph

38 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
Jan Bubenik
8db649ba5f Static EventHandler for IL2CPP support (#258)
* Added staticEventHandler which forward the invoke to the actual eventHandler set though Initialize

* Code Formatting - Replaced abs with 4 white spaces
2018-12-14 16:00:47 -08:00
Mason Sciotti
e6390c8c41
Unity il2cpp support (#249)
* Initial il2cpp support attempts

* Fix crashes

* Different variable name

* Fix indenting

* Change back unneeded stuff
- callbackCalls didnt seem to do anything
2018-11-27 09:19:14 -08:00
Mason Sciotti
af380116a0
Check C# strings against UTF8 bytes instead of clamping (#221) 2018-08-16 11:23:28 -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
c70acbe7d1 Fix Unity buildhelper for linux
- Fixes #157
2018-03-26 10:56:05 -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
sll552
4055565147 Update C# wrapper with visual C# compatible version (#126)
- Custom serializer to fix utf-8 strings in C#
2018-02-22 11:47:18 -08:00
Mason Sciotti
c4201806cf
Update build.py to properly build and copy libraries for Unity and Unreal (#120) 2018-02-12 13:40:41 -08:00
Mason Sciotti
ccf04d21f5
Moving buildhelper to editor folder (#118) 2018-02-02 16:02:11 -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
051a1eeb70 Added ATJ for unity example 2017-12-04 15:16:59 -08:00
Chris Marsh
be7fda7c50 Update build script for a more targeted set of stuff to build for unity 2017-12-01 14:41:20 -08:00
Chris Marsh
50ea4e61c6 Fix unity build for osx 2017-12-01 14:41:20 -08:00
Chris Marsh
82439911c6 wip update unity example 2017-12-01 14:41:20 -08:00
Chris Marsh
0d24fabdf4 Fix param type 2017-12-01 14:41:20 -08:00
Chris Marsh
c053b72f58 Update Unity example (also, remove dll, need to do that a better way) 2017-12-01 14:41:20 -08:00
Chris Marsh
7dc663a170 Static link crt 2017-11-09 14:24:30 -08:00
Chris Marsh
a7808a20ed Fix some sizes on join request strings. 2017-11-03 13:40:30 -07:00
Chris Marsh
3bdb88d918
Unity ajt fix 2017-11-02 11:59:45 -07:00
Chris Marsh
a089aab53e Update unity. 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
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
11e74bca5e update dll 2017-09-07 16:16:58 -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
88f47486cb update dll 2017-08-03 10:51:06 -07:00
Chris Marsh
c82cc94538 UI thing 2017-08-03 10:15:22 -07:00
Chris Marsh
470259e8b0 Unity example: show when connected 2017-08-03 09:52:43 -07:00
Chris Marsh
f6853fac1b Unity example working better. 2017-08-02 17:52:20 -07:00
Chris Marsh
7fe7e2ab53 Initial pass at a unity example... no callbacks yet. 2017-08-02 11:31:35 -07:00
Chris Marsh
27e39a0ec5 Initial unity project example 2017-08-02 11:03:20 -07:00