Beispiel #1
0
        protected virtual void OnFurnitureDrop(FurnitureDropEventArgs e)
        {
            EventHandler <FurnitureDropEventArgs> handler = FurnitureDrop;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
        protected void RaiseOnFurnitureDrop(InterceptedEventArgs e)
        {
            if (FurnitureDrop != null)
            {
                var args = new FurnitureDropEventArgs(e.Continuation, e.Step, e.Packet);
                OnFurnitureDrop(args);

                e.Cancel       = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }
Beispiel #3
0
        protected void RaiseOnFurnitureDrop(InterceptedEventArgs e)
        {
            if (FurnitureDrop != null)
            {
                var args = new FurnitureDropEventArgs(e.Continuation, e.Step, e.Packet);
                OnFurnitureDrop(args);

                e.Cancel = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }
Beispiel #4
0
 protected virtual void OnFurnitureDrop(FurnitureDropEventArgs e)
 {
     EventHandler<FurnitureDropEventArgs> handler = FurnitureDrop;
     if (handler != null) handler(this, e);
 }