Hello, how i can add status of my custom currency (from DB) to addon, and how i can add list of items to addon, when the player moves the mouse pops up a detailed description of item , thanks for answer
local function OnEnterFrame(self, motion) GameTooltip:Hide() GameTooltip:SetOwner(self, "ANCHOR_RIGHT") if (self.type == 1) then GameTooltip:SetHyperlink("spell:"..self.id) elseif (self.type == 2) then if (self.gemSpell ~= 0) then GameTooltip:SetHyperlink("spell:"..self.gemSpell) else GameTooltip:SetHyperlink("item:"..self.id) end local itemName, itemLink, itemRarity, itemLevel, itemMinLevel, itemType, itemSubType, itemStackCount, itemEquipLoc, itemTexture, itemSellPrice = GetItemInfo(self.id) self:SetBackdrop({bgFile = itemTexture, edgeFile = "", tile = false, tileSize = 68, edgeSize = 16, insets = { left = 4, right = 4, top = 4, bottom = 4 }}); end GameTooltip:SetFrameLevel(5) GameTooltip:Show()end