Added VoiceSettingsUpdated RPC event

This commit is contained in:
RogueException
2016-10-07 23:59:19 -03:00
parent 15e8ef06dc
commit 79f04a5b30
12 changed files with 216 additions and 1 deletions

View File

@@ -82,6 +82,13 @@ namespace Discord.Rpc
}
private readonly AsyncEvent<Func<ulong, Task>> _speakingStoppedEvent = new AsyncEvent<Func<ulong, Task>>();
public event Func<VoiceSettings, Task> VoiceSettingsUpdated
{
add { _voiceSettingsUpdated.Add(value); }
remove { _voiceSettingsUpdated.Remove(value); }
}
private readonly AsyncEvent<Func<VoiceSettings, Task>> _voiceSettingsUpdated = new AsyncEvent<Func<VoiceSettings, Task>>();
//Messages
public event Func<RpcMessage, Task> MessageReceived
{