Beispiel #1
0
        protected virtual void OnHostTradePlayer(HostTradeEventArgs e)
        {
            EventHandler <HostTradeEventArgs> handler = HostTradePlayer;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
        protected void RaiseOnHostTradePlayer(InterceptedEventArgs e)
        {
            if (HostTradePlayer != null)
            {
                var args = new HostTradeEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostTradePlayer(args);

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

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