Mercurial > wow > askmrrobot
comparison Constants.lua @ 133:a0894ffebd15 v62
Bug fixes and tweaks for 8.0.
| author | yellowfive |
|---|---|
| date | Wed, 25 Jul 2018 12:17:24 -0700 |
| parents | d9a059484b22 |
| children | 6dc0e8e9f960 |
comparison
equal
deleted
inserted
replaced
| 132:2279d58793c6 | 133:a0894ffebd15 |
|---|---|
| 19 Amr.InstanceIds = Amr.Serializer.InstanceIds | 19 Amr.InstanceIds = Amr.Serializer.InstanceIds |
| 20 Amr.SupportedInstanceIds = Amr.Serializer.SupportedInstanceIds | 20 Amr.SupportedInstanceIds = Amr.Serializer.SupportedInstanceIds |
| 21 Amr.ParseItemLink = Amr.Serializer.ParseItemLink | 21 Amr.ParseItemLink = Amr.Serializer.ParseItemLink |
| 22 Amr.IsSupportedInstanceId = Amr.Serializer.IsSupportedInstanceId | 22 Amr.IsSupportedInstanceId = Amr.Serializer.IsSupportedInstanceId |
| 23 Amr.IsSupportedInstance = Amr.Serializer.IsSupportedInstance | 23 Amr.IsSupportedInstance = Amr.Serializer.IsSupportedInstance |
| 24 Amr.GetItemTooltip = Amr.Serializer.GetItemTooltip | 24 --Amr.GetItemTooltip = Amr.Serializer.GetItemTooltip |
| 25 Amr.GetItemLevel = Amr.Serializer.GetItemLevel | 25 --Amr.GetItemLevel = Amr.Serializer.GetItemLevel |
| 26 Amr.GetItemUniqueId = Amr.Serializer.GetItemUniqueId | 26 Amr.GetItemUniqueId = Amr.Serializer.GetItemUniqueId |
| 27 Amr.ReadAzeritePowers = Amr.Serializer.ReadAzeritePowers | 27 Amr.ReadAzeritePowers = Amr.Serializer.ReadAzeritePowers |
| 28 | 28 |
| 29 -- map of slot ID to display text | 29 -- map of slot ID to display text |
| 30 Amr.SlotDisplayText = { | 30 Amr.SlotDisplayText = { |
| 191 table.insert(parts, 0) | 191 table.insert(parts, 0) |
| 192 | 192 |
| 193 return table.concat(parts, ":") | 193 return table.concat(parts, ":") |
| 194 end | 194 end |
| 195 | 195 |
| 196 | 196 --[[ |
| 197 -- the server event for getting item info does not specify which item it just fetched... have to track manually | 197 -- the server event for getting item info does not specify which item it just fetched... have to track manually |
| 198 local _pendingItemIds = {} | 198 local _pendingItemIds = {} |
| 199 | 199 |
| 200 -- helper for getting item information, which is not always guaranteed to be loaded into memory | 200 -- helper for getting item information, which is not always guaranteed to be loaded into memory |
| 201 function Amr.GetItemInfo(itemIdOrLinkOrName, callback, customArg) | 201 function Amr.GetItemInfo(itemIdOrLinkOrName, callback, customArg) |
| 235 callbacks[i].Callback(callbacks[i].Arg, name, link, quality, iLevel, reqLevel, class, subclass, maxStack, equipSlot, texture, vendorPrice) | 235 callbacks[i].Callback(callbacks[i].Arg, name, link, quality, iLevel, reqLevel, class, subclass, maxStack, equipSlot, texture, vendorPrice) |
| 236 end | 236 end |
| 237 end | 237 end |
| 238 end | 238 end |
| 239 end) | 239 end) |
| 240 ]] |
