コード例 #1
0
        public BankerGump(Mobile from, PlayerBanker banker) : base(0, 0)
        {
            m_From   = from;
            m_Banker = banker;

            from.CloseGump(typeof(BankerGump));
            from.CloseGump(typeof(BankerTitleGump));

            RenderBackground();
            RenderCategories();
            RenderDismissConfirmation();
            RenderAppearanceCategories();
        }
コード例 #2
0
        public BankerTitleGump(Mobile from, PlayerBanker banker) : base(0, 0)
        {
            m_From   = from;
            m_Banker = banker;

            from.CloseGump(typeof(BankerGump));
            from.CloseGump(typeof(BankerTitleGump));

            Entry[] entries = m_Entries;

            RenderBackground();

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

            for (int i = 0; i < pageCount; ++i)
            {
                RenderPage(entries, i);
            }
        }
コード例 #3
0
 public ManageBankerEntry(Mobile from, PlayerBanker banker) : base(6151, 12)
 {
     m_From   = from;
     m_Banker = banker;
 }