This function or event no longer exists in version 6.0.1.18612 of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions

Returns weekly and total guild exp of a player


See also Guild functions.

Signature:

weeklyXP, totalXP, weeklyRank, totalRank = GetGuildRosterContribution(index)

Arguments:

  • index - The player index of the currently visible guild roster (number)

Returns:

  • weeklyXP - The player XP for this week (number)
  • totalXP - The player XP in total (number)
  • weeklyRank - The players rank for this week (number)
  • totalRank - The players rank at all (number)

Examples:

weeklyXP, totalXP, weeklyRank, totalRank = GetGuildRosterContribution(1)
-- Will return the apropriate values for the player currently on top of the guild roster.