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 |
end
self : AddSupportedGiftState ( GIFT_STATE_THANKED , "ZO_GamepadGiftWithNoteEntryTemplate" , ZO_GiftInventoryCategory_Gamepad . GiftWithNoteSetupFunction )
return ZO_GiftInventory_Manager . CompareSent ( leftEntry . gift , rightEntry . gift , "state" , ZO_SORT_ORDER_UP )
end
{
-- View thanked gift
if targetData then
local gift = targetData . gift
end
return false
end ,
end ,
} )
{
-- Delete thanked gift
if targetData then
local gift = targetData . gift
end
return false
end ,
end ,
} )
end
entryData . gift = gift
end
local formattedPlayerName = zo_strformat ( SI_GAMEPAD_GIFT_INVENTORY_TO_FORMATTER , userFacingDisplayName )
local expiresInString = zo_strformat ( SI_GAMEPAD_GIFT_INVENTORY_EXPIRES_FORMATTER , formattedTimeLeft )
return entryData
end |