Skip to content

An UE5 plugin that integrates Discord's GameSDK.

License

Notifications You must be signed in to change notification settings

TeamCyberless/DiscordGameSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordGameSDK

release issues

An unofficial Unreal Engine 5 plugin that integrates Discord's GameSDK.

How to install

  1. Download and copy the repository to your project [YOUR_PROJECT_NAME]/Plugins/ folder.
  2. Download Discord GameSDK.
  3. At [YOUR_PROJECT_NAME]/Plugins/DiscordGSDK/Source/DiscordGSDK/ThirdParty/, create an Discord folder and copy .h and .cpp files of the cpp/ folder to this folder from Discord GameSDK zip file.
  4. Follow the steps below for each OS
  5. Build your UE4 project
  6. Launch the editor, and enable this plugin.

Windows

  • At [YOUR_PROJECT_NAME]/Plugins/DiscordGSDK/Source/ThirdParty/DiscordGSDKLibrary/, create a Win64 folder
  • Copy lib/x86_64/discord_game_sdk.dll and lib/x86_64/discord_game_sdk.dll.lib from Discord GameSDK zip file to the Win64 folder

Mac

  • At [YOUR_PROJECT_NAME]/Plugins/DiscordGSDK/Source/ThirdParty/DiscordGSDKLibrary/, create a Mac folder
  • Copy lib/x86_64/discord_game_sdk.dylib and lib/x86_64/discord_game_sdk.bundle from Discord GameSDK zip file to the Mac folder

Linux

  • At [YOUR_PROJECT_NAME]/Plugins/DiscordGSDK/Source/ThirdParty/DiscordGSDKLibrary/, create a Linux folder
  • Inside, create another folder x86_64-unknown-linux-gnu
  • Copy lib/x86_64/discord_game_sdk.so from Discord GameSDK zip file to the Linux/x86_64-unknown-linux-gnu folder

License

Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt or copy at https://opensource.org/licenses/MIT)

How to contribute

GitHub website

The most efficient way to help and contribute to this wrapper project is to use the tools provided by GitHub:

Contact

Coding Style Guidelines

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

See also

Discord GameSDK Documentation

Unreal Engine Third Party Documentation