public static void InvokeQuestGumpRequest(QuestGumpRequestArgs e) { if (QuestGumpRequest != null) { QuestGumpRequest(e); } }
private static void EventSink_QuestGumpRequest( QuestGumpRequestArgs args ) { PlayerMobile pm = args.Mobile as PlayerMobile; if( pm == null ) return; QuestSystem qs = pm.Quest; if( qs != null ) qs.ShowQuestLog(); }
public static void QuestButton(QuestGumpRequestArgs e) { if (e == null || e.Mobile == null) return; Mobile from = e.Mobile; from.CloseGump(typeof(XMLQuestLogGump)); // bring up the quest status gump from.SendGump(new XMLQuestLogGump(from)); // bring up the normal quest objectives gump //NormalQuestButton(from as PlayerMobile); }
public static void InvokeQuestGumpRequest( QuestGumpRequestArgs e ) { if( QuestGumpRequest != null ) QuestGumpRequest( e ); }
public static void EventSink_QuestGumpRequest( QuestGumpRequestArgs args ) { PlayerMobile pm = args.Mobile as PlayerMobile; if ( !Enabled || pm == null ) return; pm.SendGump( new QuestLogGump( pm ) ); }
public static void InvokeQuestGumpRequest(QuestGumpRequestArgs e) { QuestGumpRequest?.Invoke(e); }
public static void InvokeQuestGumpRequest(QuestGumpRequestArgs e) { if (QuestGumpRequest != null) { foreach (QuestGumpRequestHandler currentDelegate in QuestGumpRequest.GetInvocationList()) { try { currentDelegate.Invoke(e); } catch (Exception ex) { // Log an exception EventSink.InvokeLogException(new LogExceptionEventArgs(ex)); } } } }