Represents event handlers for Discord integration.
Constructor
Variables
disconnected:Callable<(errorCode:Int, message:ConstCharStar) ‑> Void>
Callback for when the client disconnects.
errored:Callable<(errorCode:Int, message:ConstCharStar) ‑> Void>
Callback for when there is an error.
joinGame:Callable<(joinSecret:ConstCharStar) ‑> Void>
Callback for when the client should join a game.
joinRequest:Callable<(request:RawConstPointer<DiscordUser>) ‑> Void>
Callback for when the client receives a join request.
ready:Callable<(request:RawConstPointer<DiscordUser>) ‑> Void>
Callback for when the client becomes ready.
spectateGame:Callable<(spectateSecret:ConstCharStar) ‑> Void>
Callback for when the client should spectate a game.