GetFriendshipReputation

From Wowpedia
Jump to: navigation, search

Returns information about the specified friendship in the player's reputation pane.

friendID, friendRep, friendMaxRep, friendName, friendText, friendTexture, friendTextLevel, friendThreshold, nextFriendThreshold = GetFriendshipReputation(factionID)

Arguments

factionID 
Number - ID of the friendship to retrieve information for, provided by GetFactionInfo (14th return).

Returns

friendID 
Number - ID of the friendship
friendRep 
Number - Total reputation the player has earned with the friend
friendMaxRep 
Number - Maximum reputation that can be earned with the friend
friendName 
String - Name of the friend
friendText 
String - Description of the friend, as shown in the tooltip that appears when you mouse over the friend row
friendTexture 
Number - The fileID of the icon texture for this faction
friendTextLevel 
String - Text of the player's current standing with the friend
friendThreshold 
Number - Minimum reputation required to reach the current standing
nextFriendThreshold 
Number - Maximum reputation that can be earned with the friend before graduating to the next standing, nil if at max rank

See also

Patch history