Godotcord

Description

   
void init(client_id : int, createFlags : CreateFlags)
void init_debug(client_id : int, id : string, createFlags : CreateFlags)
void run_callbacks()
bool is_init()

Enumerations

enum CreateFlags

  • CreateFlags_DEFAULT=0
  • CreateFlags_NO_REQUIRE_DISCORD=1

Method Descriptions

  • void init(client_id : int, createFlags : CreateFlags)

  • void init_debug(client_id : int, id : string, createFlags : CreateFlags)

  • void run_callbacks()

Runs all the callbacks from the Discord Game SDK. This should be run every frame.


  • bool is_init()

Returns whether Godotcord is initialized.