Exemplo n.º 1
0
        public static void EventSink_QuestGumpRequest(QuestGumpRequestArgs e)
        {
            Mobile from = e.Mobile;

            from.CloseGump(typeof(StatsGump));
            from.SendGump(new StatsGump(from, 0));
        }
Exemplo n.º 2
0
        public static void EventSink_QuestGumpRequest(QuestGumpRequestArgs args)
        {
            if (!Enabled || !(args.Mobile is PlayerMobile pm))
            {
                return;
            }

            pm.SendGump(new QuestLogGump(pm));
        }
Exemplo n.º 3
0
        public static void EventSink_QuestGumpRequest(QuestGumpRequestArgs args)
        {
            PlayerMobile pm = args.Mobile as PlayerMobile;

            if (!Enabled || pm == null)
            {
                return;
            }

            pm.SendGump(new QuestLogGump(pm));
        }
Exemplo n.º 4
0
        public static void QuestButton(QuestGumpRequestArgs e)
        {
            if (e == null || e.Mobile == null)
                return;
            Mobile from = e.Mobile;

            from.CloseGump(typeof(QuestLogGump));
            // bring up the quest status gump
            from.SendGump(new QuestLogGump(from));
            // bring up the normal quest objectives gump
            //NormalQuestButton(from as PlayerMobile);
        }
Exemplo n.º 5
0
        public static void EventSink_QuestGumpRequest(QuestGumpRequestArgs e)
        {
            Mobile mob = e.Mobile;

            if (!mob.HasGump(typeof(QuiGump)))
            {
                mob.SendGump(new QuiGump(mob));
            }
            else
            {
                mob.CloseGump(typeof(QuiGump));
                mob.SendGump(new QuiGump(mob));
            }
        }
Exemplo n.º 6
0
        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();
            }
        }
Exemplo n.º 7
0
 public void InvokeQuestGumpRequest( QuestGumpRequestArgs e )
 {
     if ( QuestGumpRequest != null )
         QuestGumpRequest( e );
 }
Exemplo n.º 8
0
		public static void EventSink_QuestGumpRequest( QuestGumpRequestArgs args )
		{
			PlayerMobile pm = args.Mobile as PlayerMobile;

			if ( !Enabled || pm == null )
				return;

			pm.SendGump( new QuestLogGump( pm ) );
		}