An unofficial Unreal Engine 5 plugin that integrates Discord's GameSDK.
- Download and copy the repository to your project
[YOUR_PROJECT_NAME]/Plugins/
folder. - Download Discord GameSDK.
- At
[YOUR_PROJECT_NAME]/Plugins/DiscordGSDK/Source/DiscordGSDK/ThirdParty/
, create anDiscord
folder and copy.h
and.cpp
files of thecpp/
folder to this folder from Discord GameSDK zip file. - Follow the steps below for each OS
- Build your UE4 project
- Launch the editor, and enable this plugin.
- At
[YOUR_PROJECT_NAME]/Plugins/DiscordGSDK/Source/ThirdParty/DiscordGSDKLibrary/
, create aWin64
folder - Copy
lib/x86_64/discord_game_sdk.dll
andlib/x86_64/discord_game_sdk.dll.lib
from Discord GameSDK zip file to theWin64
folder
- At
[YOUR_PROJECT_NAME]/Plugins/DiscordGSDK/Source/ThirdParty/DiscordGSDKLibrary/
, create aMac
folder - Copy
lib/x86_64/discord_game_sdk.dylib
andlib/x86_64/discord_game_sdk.bundle
from Discord GameSDK zip file to theMac
folder
- At
[YOUR_PROJECT_NAME]/Plugins/DiscordGSDK/Source/ThirdParty/DiscordGSDKLibrary/
, create aLinux
folder - Inside, create another folder
x86_64-unknown-linux-gnu
- Copy
lib/x86_64/discord_game_sdk.so
from Discord GameSDK zip file to theLinux/x86_64-unknown-linux-gnu
folder
Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt or copy at https://opensource.org/licenses/MIT)
The most efficient way to help and contribute to this wrapper project is to use the tools provided by GitHub:
- please fill bug reports and feature requests here: https://github.com/TeamCyberless/DiscordGameSDK/issues
- fork the repository, make some small changes and submit them with independent pull-requests
- You can use the Unreal Engine forums.
- You can also join our Discord server.
The source code follow the Unreal Engine official Coding Standard:
- CamelCase naming convention, with a prefix letter to differentiate classes ('F'), interfaces ('I'), templates ('T')
- files (.cpp/.h) are named like the class they contains
- Doxygen comments, documentation is located with declaration, on headers
- Use portable common features of C++11 like nullptr, auto, range based for, override keyword
- Braces on their own line
- Tabs to indent code, with a width of 4 characters