Ejemplo n.º 1
0
        public CookGump(Mobile from, PlayerCook cook) : base(0, 0)
        {
            m_From = from;
            m_Cook = cook;

            from.CloseGump(typeof(CookGump));
            from.CloseGump(typeof(CookTitleGump));

            RenderBackground();
            RenderCategories();
            RenderDismissConfirmation();
            RenderAppearanceCategories();
        }
Ejemplo n.º 2
0
        public CookTitleGump(Mobile from, PlayerCook cook) : base(0, 0)
        {
            m_From = from;
            m_Cook = cook;

            from.CloseGump(typeof(CookGump));
            from.CloseGump(typeof(CookTitleGump));

            Entry[] entries = m_Entries;

            RenderBackground();

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

            for (int i = 0; i < pageCount; ++i)
            {
                RenderPage(entries, i);
            }
        }
Ejemplo n.º 3
0
 public ManageCookEntry(Mobile from, PlayerCook cook) : base(6151, 12)
 {
     m_From = from;
     m_Cook = cook;
 }