public TailorGump(Mobile from, PlayerTailor tailor) : base(0, 0) { m_From = from; m_Tailor = tailor; from.CloseGump(typeof(TailorGump)); from.CloseGump(typeof(TailorTitleGump)); RenderBackground(); RenderCategories(); RenderDismissConfirmation(); RenderAppearanceCategories(); }
public TailorTitleGump(Mobile from, PlayerTailor tailor) : base(0, 0) { m_From = from; m_Tailor = tailor; from.CloseGump(typeof(TailorGump)); from.CloseGump(typeof(TailorTitleGump)); Entry[] entries = m_Entries; RenderBackground(); int pageCount = (entries.Length + 19) / 20; for (int i = 0; i < pageCount; ++i) { RenderPage(entries, i); } }
public ManageTailorEntry(Mobile from, PlayerTailor tailor) : base(6151, 12) { m_From = from; m_Tailor = tailor; }