protected virtual void OnAudioSourceMuted(AudioSourceMutedEventArgs e) { var muted = this.AudioSourceMuted; if (muted != null) { muted(this, e); } }
protected virtual void OnAudioSourceMuted(AudioSourceMutedEventArgs e) { var muted = this.AudioSourceMuted; if (muted != null) muted (this, e); }
private void OnSourceMuted (object sender, AudioSourceMutedEventArgs e) { if (!e.Unmuted) MarkMuted (e.Source); else MarkSilent (e.Source); SetupUserContext (userNodes[this.client.Users[e.Source.OwnerId]]); }