Skip to content
YYBartT edited this page Mar 23, 2023 · 9 revisions

Core Functions

Back To Top

Discord_Core_Create

Initializes the Discord extension. If Discord is not running, it will:

  1. Close your game
  2. Open Discord
  3. Attempt to re-open your game

Syntax

Discord_Core_Create(appId)
Argument Type Description
appId int64 Application identifier

Returns

N/A

Example

Discord_Core_Create(appId);



Back To Top

Discord_Core_RunCallbacks

Requests the extension instances to do work.

⚠️ IMPORTANT It is imperative that this function is called at regular intervals to ensure that all the services offered by the SDK function optimally.

Syntax

Discord_Core_RunCallbacks()

Returns

N/A

Example

/// Step Event
Discord_Core_RunCallbacks();


Clone this wiki locally