Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Anyone know what functions the client uses when generating a tooltip for an item with enchantIDs or

[DiscordArchive] Anyone know what functions the client uses when generating a tooltip for an item with enchantIDs or

[DiscordArchive] Anyone know what functions the client uses when generating a tooltip for an item with enchantIDs or

rektbyfaith
Administrator
0
11-02-2021, 02:37 PM
#1
Archived author: Soldan • Posted: 2021-11-02T14:37:36.088000+00:00
Original source

Anyone know what functions the client uses when generating a tooltip for an item with enchantIDs or SuffixIDs in it's itemstring?

The itemstring has the IDs, but the tooltip shows the data (such as name, stats, etc) so afaik there must be a client function to grab the data from the DBCs by passing the IDs as an arg?
rektbyfaith
11-02-2021, 02:37 PM #1

Archived author: Soldan • Posted: 2021-11-02T14:37:36.088000+00:00
Original source

Anyone know what functions the client uses when generating a tooltip for an item with enchantIDs or SuffixIDs in it's itemstring?

The itemstring has the IDs, but the tooltip shows the data (such as name, stats, etc) so afaik there must be a client function to grab the data from the DBCs by passing the IDs as an arg?

rektbyfaith
Administrator
0
11-02-2021, 02:39 PM
#2
Archived author: Soldan • Posted: 2021-11-02T14:39:44.588000+00:00
Original source

Want to try and grab the data from the EnchantID, so I can display it in lua
[Image: unknown.png?ex=690c0a6f&is=690ab8ef&hm=d...b5365103a&]
rektbyfaith
11-02-2021, 02:39 PM #2

Archived author: Soldan • Posted: 2021-11-02T14:39:44.588000+00:00
Original source

Want to try and grab the data from the EnchantID, so I can display it in lua
[Image: unknown.png?ex=690c0a6f&is=690ab8ef&hm=d...b5365103a&]

rektbyfaith
Administrator
0
11-02-2021, 02:42 PM
#3
Archived author: Soldan • Posted: 2021-11-02T14:42:06.301000+00:00
Original source

Worst case I could just index the enchant IDs in a lua table..and get the names from there but thought there might be a more efficient way, since it's already being done for tooltips
rektbyfaith
11-02-2021, 02:42 PM #3

Archived author: Soldan • Posted: 2021-11-02T14:42:06.301000+00:00
Original source

Worst case I could just index the enchant IDs in a lua table..and get the names from there but thought there might be a more efficient way, since it's already being done for tooltips

Recently Browsing
 
Recently Browsing