예제 #1
0
        public ProvisionerGump(Mobile from, PlayerProvisioner provisioner) : base(0, 0)
        {
            m_From        = from;
            m_Provisioner = provisioner;

            from.CloseGump(typeof(ProvisionerGump));
            from.CloseGump(typeof(ProvisionerTitleGump));

            RenderBackground();
            RenderCategories();
            RenderDismissConfirmation();
            RenderAppearanceCategories();
        }
예제 #2
0
        public ProvisionerTitleGump(Mobile from, PlayerProvisioner provisioner) : base(0, 0)
        {
            m_From        = from;
            m_Provisioner = provisioner;

            from.CloseGump(typeof(ProvisionerGump));
            from.CloseGump(typeof(ProvisionerTitleGump));

            Entry[] entries = m_Entries;

            RenderBackground();

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

            for (int i = 0; i < pageCount; ++i)
            {
                RenderPage(entries, i);
            }
        }
예제 #3
0
 public ManageProvisionerEntry(Mobile from, PlayerProvisioner provisioner) : base(6151, 12)
 {
     m_From        = from;
     m_Provisioner = provisioner;
 }