Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

API 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