derelict_extras-discord-rpc 1.0.0

A dynamic binding to the 🎮 Discord Rich Presence (Discord-RPC) library.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

DerelictDiscordRPC

A dynamic binding to the Discord Rich Presence (Discord-RPC) library.

This is not an official Derelict binding.

Installation

You'll need a copy of the Discord-RPC dynamic library. Either download the SDK and build it yourself or download the pre-compiled binaries from their GitHub releases page. Please note that the SDK is licensed under the terms of the MIT license.

In order to use this bindings, add this package as dependency to your DUB project.

Usage


void main()
{
    // Load the Discord-RPC library.
    DerelictDiscordRPC.load();

    // Now Discord-RPC can be called.
    ... 
}

For further information check the Discord-RPC docs.

Acknowledgement

Thanks to...

Authors:
  • Elias Batek (0xEAB)
Dependencies:
derelict-util
Versions:
1.0.0 2018-Apr-22
~master 2018-Apr-22
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 3 downloads total

Score:
0.4
Short URL:
derelict_extras-discord-rpc.dub.pm