LootMonitor

The addon monitors the drops and loot rolls of party and warband members during a session. It parses loot and loot roll chat text. After a monitoring session is started it logs the items received by each party and/warband member and their loot choices, i.e. pass, greed, need.

The addon provides an API to register loot events. Whenever a player selects loot option, i.e. pass, greed, need, or whenever s/he receives an item the loot event is fired with the information of player name, item and loot optin.

function YourAddon.Initialize()
	...
	LootMonitor.RegisterOnLootMonitor(YourAddon.onLootEvent)
	...
end
function YourAddon.onLootEvent(player, item, option)
	-- option: pass, greed, need, received
	...
	...
end

For an example of how to use LootMonitor see NinjaMonitor.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
04 Nov 2009
Categories
Last update
05 Nov 2009
Development stage
Alpha
Language
  • enUS
License
BSD License
Recent file
  • A: r2 for 1.3.1 on 05 Nov 2009

Authors