protected virtual void OnHostMutePlayer(HostMutePlayerEventArgs e) { EventHandler <HostMutePlayerEventArgs> handler = HostMutePlayer; if (handler != null) { handler(this, e); } }
protected void RaiseOnHostMutePlayer(InterceptedEventArgs e) { if (HostMutePlayer != null) { var args = new HostMutePlayerEventArgs(e.Continuation, e.Step, e.Packet); OnHostMutePlayer(args); e.Cancel = args.Cancel; e.WasContinued = args.WasContinued; } }
protected virtual void OnHostMutePlayer(HostMutePlayerEventArgs e) { EventHandler<HostMutePlayerEventArgs> handler = HostMutePlayer; if (handler != null) handler(this, e); }