|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
local rewardProductType, rewardReferenceDataId = GetCrownCrateRewardProductReferenceData(rewardIndex) if rewardProductType == MARKET_PRODUCT_TYPE_COLLECTIBLE then local params = { collectibleId = rewardReferenceDataId, showNickname = true, } elseif rewardProductType == MARKET_PRODUCT_TYPE_ITEM then if itemLink and itemLink ~= "" then end elseif rewardProductType == MARKET_PRODUCT_TYPE_CURRENCY then else endend |