示例#1
0
        public MageGump(Mobile from, PlayerMage mage) : base(0, 0)
        {
            m_From = from;
            m_Mage = mage;

            from.CloseGump(typeof(MageGump));
            from.CloseGump(typeof(MageTitleGump));

            RenderBackground();
            RenderCategories();
            RenderDismissConfirmation();
            RenderAppearanceCategories();
        }
示例#2
0
        public MageTitleGump(Mobile from, PlayerMage mage) : base(0, 0)
        {
            m_From = from;
            m_Mage = mage;

            from.CloseGump(typeof(MageGump));
            from.CloseGump(typeof(MageTitleGump));

            Entry[] entries = m_Entries;

            RenderBackground();

            int pageCount = (entries.Length + 19) / 20;

            for (int i = 0; i < pageCount; ++i)
            {
                RenderPage(entries, i);
            }
        }
示例#3
0
 public ManageMageEntry(Mobile from, PlayerMage mage) : base(6151, 12)
 {
     m_From = from;
     m_Mage = mage;
 }