Example #1
0
        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();
        }
Example #2
0
        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);
            }
        }
Example #3
0
 public ManageTailorEntry(Mobile from, PlayerTailor tailor) : base(6151, 12)
 {
     m_From   = from;
     m_Tailor = tailor;
 }