protected virtual void OnFurnitureMove(FurnitureMoveEventArgs e) { EventHandler <FurnitureMoveEventArgs> handler = FurnitureMove; if (handler != null) { handler(this, e); } }
protected void RaiseOnFurnitureMove(InterceptedEventArgs e) { if (FurnitureMove != null) { var args = new FurnitureMoveEventArgs(e.Continuation, e.Step, e.Packet); OnFurnitureMove(args); e.Cancel = args.Cancel; e.WasContinued = args.WasContinued; } }
protected virtual void OnFurnitureMove(FurnitureMoveEventArgs e) { EventHandler<FurnitureMoveEventArgs> handler = FurnitureMove; if (handler != null) handler(this, e); }