jhliberty / DiscordGameSDK

An UE5 plugin that integrates Discord's GameSDK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/DiscordGameSDK/Source/ThirdParty/DiscordGameSDKLibrary/, create an Include folder and copy .h 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/DiscordGameSDK/Source/ThirdParty/DiscordGameSDKLibrary/, 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/DiscordGameSDK/Source/ThirdParty/DiscordGameSDKLibrary/, 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/DiscordGameSDK/Source/ThirdParty/DiscordGameSDKLibrary/, 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

About

An UE5 plugin that integrates Discord's GameSDK.

License:MIT License


Languages

Language:C++ 98.0%Language:C# 2.0%