示例#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();
        }
示例#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);
            }
        }
示例#3
0
 public ManageBlacksmithEntry(Mobile from, PlayerBlacksmith blacksmith) : base(6151, 12)
 {
     m_From       = from;
     m_Blacksmith = blacksmith;
 }