Пример #1
0
        public CarpenterGump(Mobile from, PlayerCarpenter carpenter) : base(0, 0)
        {
            m_From      = from;
            m_Carpenter = carpenter;

            from.CloseGump(typeof(CarpenterGump));
            from.CloseGump(typeof(CarpenterTitleGump));

            RenderBackground();
            RenderCategories();
            RenderDismissConfirmation();
            RenderAppearanceCategories();
        }
Пример #2
0
        public CarpenterTitleGump(Mobile from, PlayerCarpenter carpenter) : base(0, 0)
        {
            m_From      = from;
            m_Carpenter = carpenter;

            from.CloseGump(typeof(CarpenterGump));
            from.CloseGump(typeof(CarpenterTitleGump));

            Entry[] entries = m_Entries;

            RenderBackground();

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

            for (int i = 0; i < pageCount; ++i)
            {
                RenderPage(entries, i);
            }
        }
Пример #3
0
 public ManageCarpenterEntry(Mobile from, PlayerCarpenter carpenter) : base(6151, 12)
 {
     m_From      = from;
     m_Carpenter = carpenter;
 }