1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
ZO_GAMEPAD_MARKET_INDIVIDUAL_PRODUCT_WIDTH = 407
ZO_GAMEPAD_MARKET_INDIVIDUAL_PRODUCT_HEIGHT = 270
ZO_GAMEPAD_MARKET_PRODUCT_TEMPLATE = "ZO_Gamepad_MarketProductTemplate"
ZO_GAMEPAD_MARKET_PRODUCT_BUNDLE_ATTACHMENT_TEMPLATE = "ZO_Gamepad_MarketProductBundleAttachmentTemplate"
ZO_GAMEPAD_MARKET_BLANK_TILE_TEMPLATE = "ZO_Gamepad_MarketBlankTileTemplate"
--
--[[ Gamepad Market Product ]] --
--
end
local control = CreateControlFromVirtual ( controlName or controlTemplate , parent , controlTemplate , controlId )
end
{
}
end
return ZO_GAMEPAD_MARKET_PRODUCT_TEMPLATE
end
do
-- single tiles are 512 x 512
local INDIVIDUAL_TEXTURE_WIDTH_COORD = ZO_GAMEPAD_MARKET_INDIVIDUAL_PRODUCT_WIDTH / 512
local INDIVIDUAL_TEXTURE_HEIGHT_COORD = ZO_GAMEPAD_MARKET_INDIVIDUAL_PRODUCT_HEIGHT / 512
self . background : SetTextureCoords ( 0 , INDIVIDUAL_TEXTURE_WIDTH_COORD , 0 , INDIVIDUAL_TEXTURE_HEIGHT_COORD )
end
end
else
end
end
end
end
end
-- Used for cycling through preview items in the preview screen
end
end
--
--[[ Gamepad Market Product Bundle Attachment ]] --
--
end
return ZO_GAMEPAD_MARKET_PRODUCT_BUNDLE_ATTACHMENT_TEMPLATE
end
if parentPurchaseState == MARKET_PRODUCT_PURCHASE_STATE_PURCHASED then
return parentPurchaseState
end
end
if allCollectiblesOwned then
self . purchaseLabelControl : SetText ( GetString ( "SI_COLLECTIBLEUNLOCKSTATE" , COLLECTIBLE_UNLOCK_STATE_UNLOCKED_OWNED ) )
end
-- hide all the price info
end
end
return GetMarketProductPurchaseState ( self . bundleMarketProductId ) ~= MARKET_PRODUCT_PURCHASE_STATE_NOT_PURCHASED or ZO_GamepadMarketProduct . IsPurchaseLocked ( self )
end
end
--
--[[ Gamepad Market Blank Product ]] --
--
ZO_GamepadMarketBlankProduct = ZO_Object . MultiSubclass ( ZO_MarketBlankProductBase , ZO_GamepadMarketProduct )
end
end
end
end
end
return ZO_GAMEPAD_MARKET_BLANK_TILE_TEMPLATE
end |