Example #1
0
        protected virtual void OnHostUpdateClothes(HostUpdateClothesEventArgs e)
        {
            EventHandler <HostUpdateClothesEventArgs> handler = HostUpdateClothes;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
        protected void RaiseOnHostUpdateClothes(InterceptedEventArgs e)
        {
            if (HostUpdateClothes != null)
            {
                var args = new HostUpdateClothesEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostUpdateClothes(args);

                e.Cancel       = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }
Example #3
0
 protected virtual void OnHostUpdateClothes(HostUpdateClothesEventArgs e)
 {
     EventHandler<HostUpdateClothesEventArgs> handler = HostUpdateClothes;
     if (handler != null) handler(this, e);
 }
Example #4
0
        protected void RaiseOnHostUpdateClothes(InterceptedEventArgs e)
        {
            if (HostUpdateClothes != null)
            {
                var args = new HostUpdateClothesEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostUpdateClothes(args);

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