public AnniversaryRewardGump(PromotionalToken token) : base(200, 200) { m_Token = token; AddKRHtmlLocalized(0, 0, 0, 0, 1015313, false, false); AddKRHtmlLocalized(0, 0, 0, 0, 1049004, false, false); AddKRHtmlLocalized(0, 0, 0, 0, 1076597, false, false); AddKRHtmlLocalized(0, 0, 0, 0, 1011036, false, false); AddKRHtmlLocalized(0, 0, 0, 0, 1011012, false, false); AddPage(0); AddBackground(0, 0, 291, 159, 0x13BE); AddImageTiled(5, 6, 280, 20, 0xA40); AddHtmlLocalized(9, 8, 280, 20, 1049004, 0x7FFF, false, false); // Confirm AddImageTiled(5, 31, 280, 100, 0xA40); AddHtmlLocalized(9, 35, 272, 100, 1076597, 0x7FFF, false, false); // Clicking "OK" will create the items in your backpack if there is room. Otherwise it will be created in your bankbox. AddButton(190, 133, 0xFB7, 0xFB8, 1, GumpButtonType.Reply, 0); AddHtmlLocalized(225, 135, 90, 20, 1006044, 0x7FFF, false, false); // OK AddButton(5, 133, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0); AddHtmlLocalized(40, 135, 100, 20, 1060051, 0x7FFF, false, false); // CANCEL }
public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; switch (info.ButtonID) { case 0: // Message { if (m_Success) { // TODO: send query to database for removing promotion code for this account ((PlayerMobile)from).LastPromotionCode = null; PromotionalToken pt = new PromotionalToken(m_Type); from.SendMessage(0x0, "A token has been placed in your backpack. Double-click it to redeem your promotion."); from.AddToBackpack(pt); } else { from.SendGump(new PromotionFailureGump(from, m_Type, m_Code)); } break; } } }
public EighthAnniversaryGump(PromotionalToken token) : base(0, 0) { m_Token = token; AddPage(0); AddBackground(0, 0, 520, 404, 0x13BE); AddImageTiled(10, 10, 500, 20, 0xA40); AddImageTiled(10, 40, 500, 324, 0xA40); AddImageTiled(10, 374, 500, 20, 0xA40); AddAlphaRegion(10, 10, 500, 384); AddButton(10, 374, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0); AddHtmlLocalized(45, 376, 450, 20, 1060051, 0x7FFF, false, false); // CANCEL AddHtml(14, 12, 500, 20, @"<basefont color=#FFFFFF>UO Eighth Anniversary gift</basefont>", false, false); // UO Eighth Anniversary gift AddButtonTileArt(14, 44, 0x918, 0x919, GumpButtonType.Reply, 0, 100, 0x2B01, 0, 15, 15); AddHtmlLocalized(98, 44, 250, 60, 1075196, 0x7FFF, false, false); // Dupre�s Shield AddButtonTileArt(264, 44, 0x918, 0x919, GumpButtonType.Reply, 0, 101, 0x2253, 0, 20, 15); AddHtmlLocalized(348, 44, 250, 60, 1078148, 0x7FFF, false, false); // Ossian Grimoire AddButtonTileArt(14, 108, 0x918, 0x919, GumpButtonType.Reply, 0, 102, 0x2D98, 0, 20, 15); AddHtmlLocalized(98, 108, 250, 60, 1078142, 0x7FFF, false, false); // Talisman of the Fey:<br>Ferret AddButtonTileArt(264, 108, 0x918, 0x919, GumpButtonType.Reply, 0, 103, 0x2D97, 0, 15, 15); AddHtmlLocalized(348, 108, 250, 60, 1078143, 0x7FFF, false, false); // Talisman of the Fey:<br>Squirrel AddButtonTileArt(14, 172, 0x918, 0x919, GumpButtonType.Reply, 0, 104, 0x2D96, 0, 15, 5); AddHtmlLocalized(98, 172, 250, 60, 1078144, 0x7FFF, false, false); // Talisman of the Fey:<br>Cu Sidhe AddButtonTileArt(264, 172, 0x918, 0x919, GumpButtonType.Reply, 0, 105, 0x2D95, 0, 10, 5); AddHtmlLocalized(348, 172, 250, 60, 1078145, 0x7FFF, false, false); // Talisman of the Fey:<br>Reptalon AddButtonTileArt(14, 236, 0x918, 0x919, GumpButtonType.Reply, 0, 106, 0x2B02, 0, -10, 10); AddHtmlLocalized(98, 236, 250, 60, 1075201, 0x7FFF, false, false); // Quiver of Infinity AddButtonTileArt(264, 236, 0x918, 0x919, GumpButtonType.Reply, 0, 107, 0x2AF9, 0, -10, 0); AddHtmlLocalized(348, 236, 250, 60, 1075198, 0x7FFF, false, false); // Dawn's Music Box AddButtonTileArt(14, 300, 0x918, 0x919, GumpButtonType.Reply, 0, 108, 0x2AC6, 0, 25, 0); AddHtmlLocalized(98, 300, 250, 60, 1075197, 0x7FFF, false, false); // Fountain Of Life }
public AdvancedCharacterWarningGump(PromotionalToken m_token) : base(100, 100) { token = m_token; AddPage(0); AddBackground(0, 0, 440, 273, 0x2422); AddHtmlLocalized(15, 15, 410, 213, 1073816, 0x0, true, false); // This character has over 200 skill points. You WILL NOT be able to choose an advanced character template until you reduce your skill point total (for example, by storing a skill using a soulstone). You may redeem this token anyway, or you can cancel this gump and trade your token to another character.<br><br>For more information about the advancement program, <a href="http://uo.custhelp.com/cgi-bin/uo.cfg/php/enduser/std_adp.php?p_faqid=13270">review this article</a> or <a href="http://uo.custhelp.com/cgi-bin/uo.cfg/php/enduser/ask.php?">ask a question</a> at our knowledge base. AddButton(275, 233, 0xFB7, 0xFB8, 1, GumpButtonType.Reply, 0); AddHtmlLocalized(310, 235, 160, 20, 1073817, 0x7FFF, false, false); // Redeem It Anyway! AddButton(15, 233, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0); AddHtmlLocalized(50, 235, 450, 20, 1060051, 0x7FFF, false, false); // CANCEL }
public SeventhAniversaryGump(PromotionalToken token) : base(0, 0) { m_Token = token; AddPage(0); AddBackground(0, 0, 520, 404, 0x13BE); AddImageTiled(10, 10, 500, 20, 0xA40); AddImageTiled(10, 40, 500, 324, 0xA40); AddImageTiled(10, 374, 500, 20, 0xA40); AddAlphaRegion(10, 10, 500, 384); AddButton(10, 374, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0); AddHtmlLocalized(45, 376, 450, 20, 1060051, 0x7FFF, false, false); // CANCEL AddHtmlLocalized(14, 12, 500, 20, 1062928, 0x7FFF, false, false); // UO Seventh Anniversary gift AddButtonTileArt(14, 44, 0x918, 0x919, GumpButtonType.Reply, 0, 100, 0x14F0, 0, 15, 15); AddHtmlLocalized(98, 44, 250, 60, 1062919, 0x7FFF, false, false); // Hearth of the Home Fire AddButtonTileArt(264, 44, 0x918, 0x919, GumpButtonType.Reply, 0, 101, 0xF61, 0, 0, 15); AddHtmlLocalized(348, 44, 250, 60, 1062921, 0x7FFF, false, false); // The Holy Sword AddButtonTileArt(14, 108, 0x918, 0x919, GumpButtonType.Reply, 0, 102, 0x1411, 0, 15, 15); AddHtmlLocalized(98, 108, 250, 60, 1062911, 0x7FFF, false, false); // Royal Leggings of Embers AddButtonTileArt(264, 108, 0x918, 0x919, GumpButtonType.Reply, 0, 103, 0x234D, 0, 15, 15); AddHtmlLocalized(348, 108, 250, 60, 1062913, 0x7FFF, false, false); // Rose of Trinsic AddButtonTileArt(14, 172, 0x918, 0x919, GumpButtonType.Reply, 0, 104, 0x236C, 0, 15, 15); AddHtmlLocalized(98, 172, 250, 60, 1062923, 0x7FFF, false, false); // Ancient Samurai Helm AddButtonTileArt(264, 172, 0x918, 0x919, GumpButtonType.Reply, 0, 105, 0x26C3, 5, 20, 15); AddHtmlLocalized(348, 172, 250, 60, 1062915, 0x7FFF, false, false); // Shamino�s Best Crossbow AddButtonTileArt(14, 236, 0x918, 0x919, GumpButtonType.Reply, 0, 106, 0x234E, 0, 15, 0); AddHtmlLocalized(98, 236, 250, 60, 1062917, 0x7FFF, false, false); // The Tapestry of Sosaria }
public ShadowSetConfirmGump(PromotionalToken token) : base(token) { }
public CrystalSetConfirmGump(PromotionalToken token) : base(token) { }
public BrokenFurnitureConfirmGump(PromotionalToken token) : base(token) { }
public EvilHomeDecorationConfirmGump(PromotionalToken token) : base(token) { }
public HeritageItemsConfirmGump(PromotionalToken token) : base(token) { }