GodotcordOverlayManager
A wrapper of the Discord Game SDK Overlay Manager.
Description
A wrapper of the Discord Game SDK Activity Manager. This class is used to interface with the ingame discord overlay.
boolean | is_enabled() |
boolean | is_locked() |
void | set_locked(locked : boolean) |
void | open_voice_settings() |
void | open_activity_invite(type : ActivityActionType) |
void | open_build_invite(invite_code : string) |
Signals
- profile_picture_callback(user_id : int, image_data : PoolByteArray)
Emitted when a profile picture has been fetched. The image data is returned as a byte array in image_data
.
See the example on how to convert the raw image data into a texture to use it in Godot.
Method Descriptions
Returns whether the overlay is enabled
Returns whether the overlay is locked
The the locking status to locked
.
Signals the overlay to open the voice settings.
Opens a dialog to send activity invites to user, channels, groups, …
Opens the “Join a guild” dialog with the specified invite code.