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 |
self : AddLine ( GetString ( SI_GAMEPAD_GIFT_INVENTORY_RETURNED_GIFT_TOOLTIP_HEADER ) , self : GetStyle ( "title" ) )
statValuePair : SetStat ( GetString ( SI_GAMEPAD_GIFT_INVENTORY_GIFT_TOOLTIP_FROM_LABEL ) , self : GetStyle ( "statValuePairStat" ) )
end
local returnQuantity = giftQuantity - claimQuantity
self : LayoutPartialClaimGift ( senderName , giftName , giftIcon , giftQuantity , claimQuantity , returnQuantity )
end
function ZO_Tooltip : LayoutPartialClaimGift ( senderName , giftName , giftIcon , giftQuantity , claimQuantity , returnQuantity )
topSection : AddLine ( GetString ( SI_CONFIRM_PARTIAL_GIFT_CLAIM_EXPLANATION_TEXT ) , self : GetStyle ( "bodyDescription" ) )
local giftNameAndQuantity = zo_strformat ( SI_MARKET_PRODUCT_NAME_AND_QUANTITY_FORMATTER , giftName , claimQuantity )
local returnString = zo_strformat ( SI_CONFIRM_PARTIAL_GIFT_RETURN_EXPLANATION_TEXT , giftName , returnQuantity , senderName )
end |