Beispiel #1
0
        protected virtual void OnHostBanPlayer(HostBanPlayerEventArgs e)
        {
            EventHandler <HostBanPlayerEventArgs> handler = HostBanPlayer;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
        protected void RaiseOnHostBanPlayer(InterceptedEventArgs e)
        {
            if (HostBanPlayer != null)
            {
                var args = new HostBanPlayerEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostBanPlayer(args);

                e.Cancel       = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }
Beispiel #3
0
 protected virtual void OnHostBanPlayer(HostBanPlayerEventArgs e)
 {
     EventHandler<HostBanPlayerEventArgs> handler = HostBanPlayer;
     if (handler != null) handler(this, e);
 }
Beispiel #4
0
        protected void RaiseOnHostBanPlayer(InterceptedEventArgs e)
        {
            if (HostBanPlayer != null)
            {
                var args = new HostBanPlayerEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostBanPlayer(args);

                e.Cancel = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }