offerMocks.py (3067B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\packages\contextualOffers\client\offerMocks.py 2 from contextualOffers.common.contextualOfferDataHelpers import make_offer_info_object 3 from eve.common.script.util import notificationconst as notificationConst 4 START_TIME = 132247779126847495L 5 END_TIME = 132347789126847495L 6 7 def MockOmegaOfferAvailable(): 8 return make_offer_info_object(offerID=1, startTime=START_TIME, endTime=END_TIME, originalPrice='$14.95', offerPrice='$9.99', percentageOff='-50%', purchaseTitle='GET 30 DAYS OF <color=0xfffbcc14>OMEGA</color>', purchaseBody='All ships, all skills, and faster training', purchaseBackground='res:/UI/Texture/classes/contextualOffers/omegaOffer/purchase_bg.png', purchaseButtonTitle='BUY', purchaseURL='https://secure.eveonline.com/Specials', notificationBody='Limited time Omega offer', notificationTitle='New offer available', notificationType=notificationConst.notificationTypeNewOfferAvailable, tooltipHeader='Omega Clone State', tooltipContent='\x95 Train skills 2x faster\n' + '\x95 Unlock unlimited skill queue\n' + '\x95 Gain access to all skills\n' + '\x95 Unlock all 350+ spaceships') 9 10 11 def MockDestroyerBundleOfferAvailable(): 12 return make_offer_info_object(offerID=3, startTime=START_TIME, endTime=END_TIME, originalPrice='$9.98', offerPrice='$4.99', percentageOff='-50%', purchaseTitle='DESTROYER BUNDLE - GET LIGHT YEARS AHEAD', purchaseBody='A fully fitted Destroyer with SKIN, PLEX and more', purchaseBackground='res:/UI/Texture/classes/contextualOffers/destroyerBundle/Catalyst-CombatCrate_770x415.png', purchaseButtonTitle='BUY', purchaseURL='https://secure.eveonline.com/Specials', notificationBody='Limited time Destroyer Bundle', notificationTitle='New offer available', notificationType=notificationConst.notificationTypeNewOfferAvailable, tooltipHeader='Destroyer Bundle', tooltipContent='\x95 Fully fitted destroyer\n' + '\x95 SKIN\n' + '\x95 Ship Insurance\n' + '\x95 PLEX and more') 13 14 15 def MockDestroyerBundleAndOmegaOfferAvailable(): 16 return make_offer_info_object(offerID=4, startTime=START_TIME, endTime=END_TIME, originalPrice='$24.94', offerPrice='$12.47', percentageOff='-50%', purchaseTitle='30 DAYS OF <color=0xfffbcc14>OMEGA</color> + <color=0xfffbcc14>DESTROYER</color> BUNDLE', purchaseBody='50% off Omega, fully fitted Destroyer, SKIN & more', purchaseBackground='res:/UI/Texture/classes/contextualOffers/destroyerBundleAndOmegaOffer/Catalyst-CombatCrate_770x415.png', purchaseButtonTitle='BUY', purchaseURL='https://secure.eveonline.com/Specials', notificationBody='Limited time Omega and Destroyer Bundle Offer', notificationTitle='New offer available', notificationType=notificationConst.notificationTypeNewOfferAvailable, tooltipHeader='Omega Clone State and Destroyer Bundle', tooltipContent='\x95 Train skills 2x faster\n' + '\x95 Unlock unlimited skill queue\n' + '\x95 Gain access to all skills\n' + '\x95 Unlock all 350+ spaceships\n' + '\x95 Fully fitted Destroyer\n' + '\x95 SKIN\n' + '\x95 Ship Insurance\n' + '\x95 PLEX and more')