MRT_RegisterItemCostHandler(functionToCall, addonName) API for handling item costs of newly looted items. The registered function will only be called, when an item was tracked with the automatic tracking system. It won't be called, if the user has added an item manually. Only one function can be registered at any given time. Parameters functionToCall The function, which shall be called, when a new items has been looted and tracked addonName The name of addon which registers one of its...
MRT has a set of saved variables, which are global. So, they are open and can be read by other addons. The following stuff is basically my little refernce chart for remembering, where I save what. Variables MRT_NumOfCurrentRaid nil, if raid tracking is stopped. Otherwise the current raidNumber. MRT_NumOfLastBoss nil, if raid tracking is stopped or if current raid doesn't have any boss event. Otherwise the bossNumber of the last boss. Tables MRT_RaidLog Saves raid data. It has the follwing...