Commit bfe7db46 authored by Ami Yuy's avatar Ami Yuy

Add itemID to Database test print.

parent de4e8917
......@@ -132,7 +132,7 @@ function CanIMogIt:DBAddItem(itemLink, appearanceID, sourceID)
CanIMogIt:Print("nil subclass: " .. itemLink)
end
-- For testing:
-- CanIMogIt:Print("New item found: " .. itemLink .. " sourceID: " .. sourceID .. " appearanceID: " .. appearanceID)
-- CanIMogIt:Print("New item found: " .. itemLink .. " itemID: " .. CanIMogIt:GetItemID(itemLink) .. " sourceID: " .. sourceID .. " appearanceID: " .. appearanceID)
return true
end
return false
......@@ -148,7 +148,7 @@ function CanIMogIt:DBRemoveItem(appearanceID, sourceID, itemLink)
self:DBRemoveAppearance(appearanceID, itemLink)
end
-- For testing:
-- CanIMogIt:Print("Item removed: " .. CanIMogIt:GetItemLinkFromSourceID(sourceID) .. " sourceID: " .. sourceID .. " appearanceID: " .. appearanceID)
-- CanIMogIt:Print("Item removed: " .. CanIMogIt:GetItemLinkFromSourceID(sourceID) .. " itemID: " .. CanIMogIt:GetItemID(itemLink) .. " sourceID: " .. sourceID .. " appearanceID: " .. appearanceID)
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment