GodotcordVoiceManager
A wrapper of the Discord Game SDK Voice Manager.
Description
A wrapper of the Discord Game SDK Voice Manager.
GodotcordInputMode | get_input_mode() |
void | set_voice_activity() |
void | set_push_to_talk(hotkey : string) |
bool | is_self_mute() |
void | set_self_mute(b : bool) |
void | set_push_to_talk(hotkey : string) |
bool | is_self_deaf() |
void | set_self_deaf(b : bool) |
void | set_push_to_talk(hotkey : string) |
bool | is_local_mute(user_id : int) |
void | set_local_mute(user_id : int, b : bool) |
int | is_local_volume(user_id : int) |
void | set_local_mute(user_id : int, b : int) |
Method Descriptions
Sets the input mode to voice activity.
Sets the input mode to push to talk with the hotkey hotkey
.
Returns whether the local user is self mute.
Sets the input mode to push to talk with the hotkey hotkey
.
Returns whether the local user is self deaf.
Sets the input mode to push to talk with the hotkey hotkey
.
Returns whether user_id
is muted by the local user.
Returns the local volume of user_id
.
The value range is 0 to 200.
The value range is 0 to 200.