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(); }
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); } }
public ManageCookEntry(Mobile from, PlayerCook cook) : base(6151, 12) { m_From = from; m_Cook = cook; }