Пример #1
0
            public InternalGump(PersonalAttendantDeed deed)
                : base(60, 36)
            {
                m_Deed = deed;

                AddPage(0);

                AddPage(0);

                AddBackground(0, 0, 273, 324, 0x13BE);
                AddImageTiled(10, 10, 253, 20, 0xA40);
                AddImageTiled(10, 40, 253, 244, 0xA40);
                AddImageTiled(10, 294, 253, 20, 0xA40);
                AddAlphaRegion(10, 10, 253, 304);
                AddButton(10, 294, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0);
                AddHtmlLocalized(45, 296, 450, 20, 1060051, 0x7FFF, false, false); // CANCEL
                AddHtmlLocalized(14, 12, 273, 20, 1076143, 0x7FFF, false, false);  // Choose your attendant

                AddPage(1);

                AddButton(19, 49, 0x845, 0x846, 100, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 47, 213, 20, 1076031, 0x7FFF, false, false);  // Guide (Male)
                AddButton(19, 73, 0x845, 0x846, 101, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 71, 213, 20, 1076032, 0x7FFF, false, false);  // Guide (Female)
                AddButton(19, 97, 0x845, 0x846, 102, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 95, 213, 20, 1076033, 0x7FFF, false, false);  // Herald (Male)
                AddButton(19, 121, 0x845, 0x846, 103, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 119, 213, 20, 1076034, 0x7FFF, false, false); // Herald (Female)
                AddButton(19, 145, 0x845, 0x846, 104, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 143, 213, 20, 1076035, 0x7FFF, false, false); // Lucky Dealer (Male)
                AddButton(19, 169, 0x845, 0x846, 105, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 167, 213, 20, 1076036, 0x7FFF, false, false); // Lucky Dealer (Female)
                AddButton(19, 193, 0x845, 0x846, 106, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 191, 213, 20, 1076037, 0x7FFF, false, false); // Fortune Teller (Female)
            }
Пример #2
0
            public InternalGump(PersonalAttendantDeed deed)
                : base(60, 36)
            {
                this.m_Deed = deed;

                this.AddPage(0);

                this.AddPage(0);

                this.AddBackground(0, 0, 273, 324, 0x13BE);
                this.AddImageTiled(10, 10, 253, 20, 0xA40);
                this.AddImageTiled(10, 40, 253, 244, 0xA40);
                this.AddImageTiled(10, 294, 253, 20, 0xA40);
                this.AddAlphaRegion(10, 10, 253, 304);
                this.AddButton(10, 294, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(45, 296, 450, 20, 1060051, 0x7FFF, false, false); // CANCEL
                this.AddHtmlLocalized(14, 12, 273, 20, 1076143, 0x7FFF, false, false); // Choose your attendant

                this.AddPage(1);

                this.AddButton(19, 49, 0x845, 0x846, 100, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(44, 47, 213, 20, 1076031, 0x7FFF, false, false); // Guide (Male)
                this.AddButton(19, 73, 0x845, 0x846, 101, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(44, 71, 213, 20, 1076032, 0x7FFF, false, false); // Guide (Female)
                this.AddButton(19, 97, 0x845, 0x846, 102, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(44, 95, 213, 20, 1076033, 0x7FFF, false, false); // Herald (Male)
                this.AddButton(19, 121, 0x845, 0x846, 103, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(44, 119, 213, 20, 1076034, 0x7FFF, false, false); // Herald (Female)
                this.AddButton(19, 145, 0x845, 0x846, 104, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(44, 143, 213, 20, 1076035, 0x7FFF, false, false); // Lucky Dealer (Male)
                this.AddButton(19, 169, 0x845, 0x846, 105, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(44, 167, 213, 20, 1076036, 0x7FFF, false, false); // Lucky Dealer (Female)
                this.AddButton(19, 193, 0x845, 0x846, 106, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(44, 191, 213, 20, 1076037, 0x7FFF, false, false); // Fortune Teller (Female)
            }