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(); }
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); } }
public ManageMageEntry(Mobile from, PlayerMage mage) : base(6151, 12) { m_From = from; m_Mage = mage; }