Discord Game SDK #1 | Introduction
Channel: CoolSpyCodes
Date: 26/07/2021

In preparation for future projects, I have begun the construction of an API wrapper for the Discord Game SDK. The SDK is already available in C, C++,  and C#. My goal will be to add a JNI wrapper for the C++ version of the SDK to allow its use in Java.

In this video, I setup the SDK and add JNI mappings for the discord::Core classes and functions.

Second Channel: https://www.youtube.com/channel/UCb7ktpifVgN7jk-KZVvlNEQ

0:00 Introduction
0:50 Setting Up the Project & SDK
1:47 DisableWarnings
18:02 Setting Up C++ Code
20:59 Type Enums
29:41 Fix JNI Library Import
32:36 discord::Core::Create
43:29 Utils
46:24 Back to discord::Core::Create
56:14 Back to Utils
57:10 Back to discord::Core::Create (Again)
1:12:12 DiscordError
1:25:20 Back to discord::Core::Create (Again) (Again)
1:25:59 Discord (Java)
1:29:23 getCore
1:36:58 discord::Core::Destroy
1:40:18 Linking Native Code to Java
1:44:08 discord::Core::RunCallbacks
1:46:34 discord::Core::SetLogHooks
1:58:43 rstring
2:03:13 Back to discord::Core::SetLogHooks
2:17:28 Env
2:27:27 Back to discord::Core::SetLogHooks (Again)
2:28:47 A Quick Note About Java Method Signatures
2:34:00 Back to discord::Core::SetLogHooks (Again) (Again)
2:37:41 Fixing Warnings
2:48:19 Linking More Native Code to Java
2:54:18 Conclusion