예제 #1
0
        public ScribeGump(Mobile from, PlayerScribe scribe) : base(0, 0)
        {
            m_From   = from;
            m_Scribe = scribe;

            from.CloseGump(typeof(ScribeGump));
            from.CloseGump(typeof(ScribeTitleGump));

            RenderBackground();
            RenderCategories();
            RenderDismissConfirmation();
            RenderAppearanceCategories();
        }
예제 #2
0
        public ScribeTitleGump(Mobile from, PlayerScribe scribe) : base(0, 0)
        {
            m_From   = from;
            m_Scribe = scribe;

            from.CloseGump(typeof(ScribeGump));
            from.CloseGump(typeof(ScribeTitleGump));

            Entry[] entries = m_Entries;

            RenderBackground();

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

            for (int i = 0; i < pageCount; ++i)
            {
                RenderPage(entries, i);
            }
        }
예제 #3
0
 public ManageScribeEntry(Mobile from, PlayerScribe scribe) : base(6151, 12)
 {
     m_From   = from;
     m_Scribe = scribe;
 }