GetFriendshipReputation
Jump to navigation
Jump to search
Returns info for a friendship reputation.
friendID, friendRep, friendMaxRep, friendName, friendText, friendTexture, friendTextLevel, friendThreshold, nextFriendThreshold = GetFriendshipReputation(factionID)
Arguments
- factionID
- number : FactionID - A subset of these IDs are friendship reputations.
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 changes
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