API GetFriendshipReputation
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
Patch 7.3.0 (2017-08-29): The icon texture is no longer a string, but a fileID instead.
Patch 5.1.0 (2012-11-27): Added