API GetMasterLootCandidate

Returns the name of the player at the specified index, who would receive an item assigned by GiveMasterLoot(slot, index) using the same index.

candidate = GetMasterLootCandidate(slot, index);

Arguments

 * slot : The loot slot number of the item you want to get information about


 * index : The number of the player whose name you wish to return. Typically between 1 and 40. Can exceed the value of GetNumRaidMembers

Returns

 * candidate : The name of the player at index.

Example
for i = 1, MAX_RAID_MEMBERS do  if GetMasterLootCandidate(i)then DEFAULT_CHAT_FRAME:AddMessage(i.." -> "..GetMasterLootCandidate(i)) end end

Lists master loot candidates by index. - These are the people capable of receiving loot from the Master Looter. This function is only usable by the master looter.