WoWInterface SVN NeedyGreedy

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 190 to Rev 191
    Reverse comparison

Rev 190 → Rev 191

NeedyGreedy.lua
1087,13 → 1087,17
DEFAULT_CHAT_FRAME:AddMessage(printString, r, g, b)
end
 
function NeedyGreedy:CHAT_MSG_LOOT(event,msg)
function NeedyGreedy:CHAT_MSG_LOOT(event, msg)
self:ChatMsgLootParser(event, msg)
end
 
function NeedyGreedy:ChatMsgLootParser(event, msg)
-- For debugging
if self.db.profile.debugStatus then
self:AddEventToLog({event, msg})
end
 
local functionName, link, player, roll, type
local functionName, link, player, roll, rollType
local stringValues, inputs
 
for _, message in ipairs(CHAT_MSG_TABLE) do
1112,11 → 1116,13
if inputs[3] then
roll = stringValues[inputs[3]]
end
type = inputs[4]
self:RecordParser(functionName, link, player, roll, type)
rollType = inputs[4]
self:RecordParser(functionName, link, player, roll, rollType)
break
end
end
 
return {msg, functionName, link, player, roll, rollType}
end
 
function NeedyGreedy:RecordParser(functionName, link, player, roll, type)