protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if ( AuctionSystem.Running ) { from.SendGump( new AuctionGump( from ) ); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (cancelType == TargetCancelType.Canceled) { from.SendGump(new AddGump(from, m_SearchString, m_Page, m_SearchResults, true)); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (m_IdentifyAddon != null) { m_IdentifyAddon.Delete(); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (cancelType == TargetCancelType.Canceled) { this.Failure(0); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (cancelType == TargetCancelType.Timeout) { from.SendLocalizedMessage(501619); // You have waited too long to make your inscribe selection, your inscription attempt has timed out. } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (cancelType == TargetCancelType.Canceled) { from.SendGump(new AddGrapeVineGump(from, null, m_IVariety, GumpPage.None)); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (cancelType == TargetCancelType.Canceled) { from.CloseGump(typeof(InteriorDecorator.InternalGump)); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (m_Addon != null && !m_Addon.Deleted) { from.SendGump(new RepairBenchGump(from, m_Addon)); } }
public void OnCancel(TargetCancelType type) { if (type == TargetCancelType.UserCancel) { Network.Send(new PTarget_Cancel(this)); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { base.OnTargetCancel (from, cancelType); if(OnCancelled != null) OnCancelled(); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { base.OnTargetCancel(from, cancelType); m_Targeter.CloseGump(typeof(ModManagementGump)); m_Targeter.SendGump(new ModManagementGump(0)); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (cancelType == TargetCancelType.Canceled) { from.SendGump(new PlayListGump(from, m_Owner.Box)); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { base.OnTargetCancel(from, cancelType); if (m_callback != null) { m_callback(from, null); } }
public void OnCancel(TargetCancelType type) { Engine.m_MultiPreview = false; if (type == TargetCancelType.UserCancel) { Network.Send(new PMultiTarget_Cancel(this.m_TargetID)); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (cancelType == TargetCancelType.Timeout) { from.SendLocalizedMessage(1150859); // You have waited too long to make your selection, your distillation attempt has timed out. } from.SendGump(new DistillationGump(from)); }
public void Cancel(Mobile from, TargetCancelType type) { CancelTimeout(); from.ClearTarget(); OnTargetCancel(from, type); OnTargetFinish(from); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { base.OnTargetCancel(from, cancelType); from.SendMessage("You have cancelled the duel."); m_Duel.State = DuelState.Cancel; DuelCore.CancelDuel(m_Duel); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (m_Addon != null && !m_Addon.Deleted) { from.CloseGump(typeof(DaviesLockerGump)); from.SendGump(new DaviesLockerGump(from, m_Addon, m_Page)); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (m_Addon != null && !m_Addon.Deleted) { m_Gump.StopTimer(from); from.CloseGump(typeof(RepairBenchGump)); from.SendGump(new RepairBenchGump(from, m_Addon)); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { base.OnTargetCancel(from, cancelType); if (OnCancelled != null) { OnCancelled(); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (cancelType == TargetCancelType.Canceled || cancelType == TargetCancelType.Disconnected || cancelType == TargetCancelType.Timeout || cancelType == TargetCancelType.Overriden) { from.Frozen = false; } base.OnTargetCancel(from, cancelType); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (cancelType == TargetCancelType.Canceled) { from.SendGump(new CraftGump(from, m_CraftSystem, m_Tool, -1)); } base.OnTargetCancel(from, cancelType); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { // Empêche le cast. m_Owner.target1 = null; m_Owner.target2 = null; m_Owner.target3 = null; base.OnTargetCancel(from, cancelType); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { base.OnTargetCancel(from, cancelType); m_Duel.Broadcast("The duel was canceled."); DuelController.DestroyDuel(m_Duel); from.SendMessage("You have cancelled the duel request."); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (m_ThrowableItem.m_DetonationDelay <= 0) { EndThrowableDelay(from); } base.OnTargetCancel(from, cancelType); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (m_Box != null && !m_Box.Deleted) { from.CloseGump(typeof(JewelryBoxGump)); from.SendGump(new JewelryBoxGump(from, m_Box, m_Page)); from.SendLocalizedMessage(1157726); // You must be carrying the item to add it to the jewelry box. } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (m_Sheet == null || from.Backpack == null || !from.Backpack.Items.Contains(m_Sheet)) { return; } m_Sheet.m_Instrument = null; }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (m_Context.SelectedYeast[m_Index] != null) { m_Context.SelectedYeast[m_Index] = null; from.SendLocalizedMessage(1150743); // You no longer choose this yeast. } from.SendGump(new DistillationGump(from)); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (TargetCancelType.Timeout == cancelType) { this.CancelTimeout(); this.m_Remaining = 0; from.SendLocalizedMessage(1112822); // You fail to find the next ingredient in time. Your clockwork assembly crumbles. this.m_Item.Delete(); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (this.m_Foundations.Count != 0) { from.SendMessage("Your changes have been committed. Updating..."); foreach (HouseFoundation house in this.m_Foundations) house.Delta(ItemDelta.Update); } }
/// <summary> /// Called when this instance of GenericSelectTarget is cancelled /// </summary> /// <param name="from">Mobile owner of the current GenericSelectTarget instance</param> /// <param name="cancelType">CancelType</param> protected override sealed void OnTargetCancel(Mobile from, TargetCancelType cancelType) { base.OnTargetCancel(from, cancelType); Result = TargetResult.Cancelled; if (FailHandler != null) { FailHandler(from); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (m_Foundations.Count != 0) { from.SendMessage("Your changes have been committed. Updating..."); foreach (HouseFoundation house in m_Foundations) { house.Delta(ItemDelta.Update); } } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (from is PlayerMobile) { ((PlayerMobile)from).EndPlayerAction(); } else { from.EndAction(typeof(IAction)); } base.OnTargetCancel(from, cancelType); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (from != null && cancelType == TargetCancelType.Canceled && from is PlayerMobile) { PlayerMobile pm = (PlayerMobile)from; DuelPoints dp = null; if (DuelController.PointsTable.TryGetValue(from.Serial, out dp)) { from.SendGump(new DuelPlayerInfoGump(dp)); } else from.SendMessage(53, "You have no dueling record."); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (from.HasGump(typeof(CommodityTargetGump))) { from.CloseGump(typeof(CommodityTargetGump)); } if (m_HasPickedCommodity) { from.SendGump(new SetPricesAndLimitsGump(m_Broker)); } else { from.SendGump(new CommodityBrokerGump(m_Broker, from)); } }
protected virtual void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { if ( cancelType == TargetCancelType.Canceled ) Failure( 0 ); }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { from.SendLocalizedMessage( 1062336 ); // You decide not to place the contract at this time. }
public void Cancel( Mobile from, TargetCancelType type ) { CancelTimeout(); from.ClearTarget(); OnTargetCancel( from, type ); OnTargetFinish( from ); }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { if ( cancelType == TargetCancelType.Canceled ) from.SendGump( new AddGrapeVineGump( from, null, m_IVariety, GumpPage.None ) ); }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { //from.SendGump( new DaviesLockerGump( from, m_Table ) ); }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { from.SendLocalizedMessage( 1042021, "", 0x59 ); // Cancelled. }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { from.SendLocalizedMessage(1062380); // You decide against offering the contract to anyone. }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { base.OnTargetCancel(from, cancelType); m_Request.SendResponse(null); }
protected override void OnTargetCancel( Mobile m, TargetCancelType cancelType ) { c_Gump.NewGump(); }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { from.SendGump( new TargetInvolvedPlayersGump( text, m_Type, first, second, third ) ); }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { if (from is PlayerMobile) ((PlayerMobile)from).EndPlayerAction(); else from.EndAction(typeof(IAction)); base.OnTargetCancel(from, cancelType); }
protected override void OnTargetCancel( Mobile from, TargetCancelType type ) { ((PlayerMobile)from).SentRequest = false; }
public void OnCancel(TargetCancelType type) { Engine.AddTextMessage("Hue picker request canceled."); }
public void OnCancel(TargetCancelType type) { }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { from.SendMessage("You cancelled the throw."); Timer.DelayCall( TimeSpan.FromSeconds( 0 ), new TimerStateCallback( ReleaseExploderLock ), from ); }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { from.EndAction( typeof( CraftSystem ) ); from.SendGump( new CraftGump( from, m_CraftSystem, m_Tool, null ) ); }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { from.SendGump( new PBGMGump( m_PBGI ) ); }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { if ( cancelType == TargetCancelType.Timeout ) from.SendLocalizedMessage( 501619 ); // You have waited too long to make your inscribe selection, your inscription attempt has timed out. }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { if ( cancelType == TargetCancelType.Canceled ) from.CloseGump( typeof( InteriorDecorator.InternalGump ) ); }
protected override void OnTargetCancel( Mobile from, TargetCancelType cancelType ) { if ( m_Foundation != null ) { from.SendMessage( "Your changes have been committed. Updating..." ); m_Foundation.Delta( ItemDelta.Update ); } }
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType) { from.SendGump(new SearchImageGump(m_Search)); base.OnTargetCancel(from, cancelType); }