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

  • GodotcordInputMode get_input_mode()

  • void set_voice_activity()

Sets the input mode to voice activity.


  • void set_push_to_talk(hotkey : string)

Sets the input mode to push to talk with the hotkey hotkey.


  • bool is_self_mute()

Returns whether the local user is self mute.


  • void set_self_mute(b : bool)

  • void set_push_to_talk(hotkey : string)

Sets the input mode to push to talk with the hotkey hotkey.


  • bool is_self_deaf()

Returns whether the local user is self deaf.


  • void set_self_deaf(b : bool)

  • void set_push_to_talk(hotkey : string)

Sets the input mode to push to talk with the hotkey hotkey.


  • bool is_local_mute(user_id : int)

Returns whether user_id is muted by the local user.


  • void set_local_mute(user_id : int, b : bool)

  • int is_local_volume(user_id : int)

Returns the local volume of user_id. The value range is 0 to 200.


  • void set_local_mute(user_id : int, b : int)

The value range is 0 to 200.