Exemplo n.º 1
0
        public TinkerGump(Mobile from, PlayerTinker tinker) : base(0, 0)
        {
            m_From   = from;
            m_Tinker = tinker;

            from.CloseGump(typeof(TinkerGump));
            from.CloseGump(typeof(TinkerTitleGump));

            RenderBackground();
            RenderCategories();
            RenderDismissConfirmation();
            RenderAppearanceCategories();
        }
Exemplo n.º 2
0
        public TinkerTitleGump(Mobile from, PlayerTinker tinker) : base(0, 0)
        {
            m_From   = from;
            m_Tinker = tinker;

            from.CloseGump(typeof(TinkerGump));
            from.CloseGump(typeof(TinkerTitleGump));

            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 ManageTinkerEntry(Mobile from, PlayerTinker tinker) : base(6151, 12)
 {
     m_From   = from;
     m_Tinker = tinker;
 }