Exemplo n.º 1
0
        public BlacksmithGump(Mobile from, PlayerBlacksmith blacksmith) : base(0, 0)
        {
            m_From       = from;
            m_Blacksmith = blacksmith;

            from.CloseGump(typeof(BlacksmithGump));
            from.CloseGump(typeof(BlacksmithTitleGump));

            RenderBackground();
            RenderCategories();
            RenderDismissConfirmation();
            RenderAppearanceCategories();
        }
Exemplo n.º 2
0
        public BlacksmithTitleGump(Mobile from, PlayerBlacksmith blacksmith) : base(0, 0)
        {
            m_From       = from;
            m_Blacksmith = blacksmith;

            from.CloseGump(typeof(BlacksmithGump));
            from.CloseGump(typeof(BlacksmithTitleGump));

            Entry[] entries = m_Entries;

            RenderBackground();

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

            for (int i = 0; i < pageCount; ++i)
            {
                RenderPage(entries, i);
            }
        }
Exemplo n.º 3
0
 public ManageBlacksmithEntry(Mobile from, PlayerBlacksmith blacksmith) : base(6151, 12)
 {
     m_From       = from;
     m_Blacksmith = blacksmith;
 }