コード例 #1
0
        public override void OnResponse(NetState state, RelayInfo info)
        {
            if (info.ButtonID >= 1 && info.ButtonID <= m_List.Length)
            {
                if (PageQueue.List.IndexOf(m_List[info.ButtonID - 1]) >= 0)
                {
                    PageEntryGump g = new PageEntryGump(state.Mobile, m_List[info.ButtonID - 1]);

                    g.SendTo(state);
                }
                else
                {
                    state.Mobile.SendGump(new PageQueueGump());
                    state.Mobile.SendMessage("That page has been removed.");
                }
            }
        }
コード例 #2
0
        public void Resend(NetState state)
        {
            PageEntryGump g = new PageEntryGump(m_Mobile, m_Entry);

            g.SendTo(state);
        }