|
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards.
|
Needs summary.
data = C_TooltipInfo.GetBackpackToken(index)
Arguments[]
- index
- number
Returns[]
- data
- TooltipData
Field |
Type |
Description
|
type |
Enum.TooltipDataType? |
|
id |
number? |
|
dataInstanceID |
number |
Correlates to TOOLTIP_DATA_UPDATE
|
lines |
TooltipDataLine[] |
The lines in the tooltip
|
0: Item
|
hyperlink |
string? |
|
guid |
string? : WOWGUID |
|
hasDynamicData |
boolean? |
|
isAzeriteItem |
boolean |
|
isAzeriteEmpoweredItem |
boolean |
|
isCorruptedItem |
boolean |
|
overrideItemLevel |
number? |
|
repairCost |
number? |
|
2: Unit
|
guid |
string : WOWGUID |
|
healthGUID |
string : WOWGUID |
Appears to be the same as guid
|
|
Enum.TooltipDataType
Value |
Field |
Description
|
0 |
Item |
GetHyperlink, GetInboxItem, GetHeirloomByItemID, GetInventoryItem, GetItemByID, GetItemKey, GetMerchantItem, ...
|
1 |
Spell |
GetAction
|
2 |
Unit |
GetUnit, GetWorldCursor
|
3 |
Corpse |
|
4 |
Object |
GetWorldCursor
|
5 |
Currency |
GetCurrencyByID, GetCurrencyToken
|
6 |
BattlePet |
|
7 |
UnitAura |
GetUnitAura, GetUnitBuff, GetUnitDebuff
|
8 |
AzeriteEssence |
|
9 |
CompanionPet |
GetCompanionPet
|
10 |
Mount |
GetMountBySpellID
|
11 |
PetAction |
|
12 |
Achievement |
GetAchievementByID
|
13 |
EnhancedConduit |
|
14 |
EquipmentSet |
GetEquipmentSet
|
15 |
InstanceLock |
|
16 |
PvPBrawl |
|
17 |
RecipeRankInfo |
|
18 |
Totem |
|
19 |
Toy |
GetToyByItemID
|
20 |
CorruptionCleanser |
|
21 |
MinimapMouseover |
GetMinimapMouseover
|
22 |
Flyout |
|
23 |
Quest |
|
24 |
QuestPartyProgress |
|
25 |
Macro |
|
26 |
Debug |
|
|
TooltipDataLine
Field |
Type |
Description
|
type |
Enum.TooltipDataLineType |
|
leftColor |
colorRGB🔗 |
|
leftText |
string |
The left line
|
rightColor |
colorRGB?🔗 |
|
rightText |
string? |
The right line (in a double line)
|
wrapText |
boolean? |
|
2: UnitName
|
unitToken |
string : UnitToken |
|
11: SellPrice
|
price |
number : WOWMONEY |
|
maxPrice |
number : WOWMONEY |
-1 if not applicable
|
19: NestedBlock
|
tooltipType |
number |
|
tooltipID |
number |
|
20: ItemBinding
|
bonding |
number |
|
|
Enum.TooltipDataLineType
Value |
Field |
Description
|
0 |
None |
|
1 |
Blank |
|
2 |
UnitName |
|
3 |
GemSocket |
|
4 |
AzeriteEssenceSlot |
|
5 |
AzeriteEssencePower |
|
6 |
LearnableSpell |
|
7 |
UnitThreat |
|
8 |
QuestObjective |
|
9 |
AzeriteItemPowerDescription |
|
10 |
RuneforgeLegendaryPowerDescription |
|
11 |
SellPrice |
|
12 |
ProfessionCraftingQuality |
|
13 |
SpellName |
|
14 |
CurrencyTotal |
|
15 |
ItemEnchantmentPermanent |
|
16 |
UnitOwner |
|
17 |
QuestTitle |
|
18 |
QuestPlayer |
|
19 |
NestedBlock |
|
20 |
ItemBinding |
|
21 |
RestrictedRaceClass |
Added in 10.0.5
|
22 |
RestrictedFaction |
Added in 10.0.5
|
23 |
RestrictedSkill |
Added in 10.0.5
|
24 |
RestrictedPvPMedal |
Added in 10.0.5
|
25 |
RestrictedReputation |
Added in 10.0.5
|
26 |
RestrictedSpellKnown |
Added in 10.0.5
|
27 |
RestrictedLevel |
Added in 10.0.5
|
28 |
EquipSlot |
Added in 10.0.5
|
29 |
ItemName |
Added in 10.0.5
|
30 |
Separator |
Added in 10.1.0
|
|