API GetFriendshipReputationRanks

Returns the (max) rank for a friendship reputation.
 currentRank, maxRank = GetFriendshipReputationRanks([factionID])
==Arguments==
:;factionID: : FactionID - A subset of these IDs are friendship reputations. Defaults to the currently interacting NPC if omitted
==Returns==
:;currentRank:
:;maxRank: - Can go up to 10, depending on the friendship faction.
==Details==
* Rank names for the Tillers friendships.
Index	Name
1 	Stranger
2 	Acquaintance
3 	Buddy
4 	Friend
5 	Good Friend
6 	Best Friend
==Example==
* Prints an example output.
/dump GetFriendshipReputationRanks(1273) -- 1, 6 (Jogu the Drunk)
/dump GetFriendshipReputationRanks(1374) -- 1, 10 (Brawl'gar Arena)
* Prints the friendship reputations for your character.
for i = 1, GetNumFactions() do
	local factionID = select(14, GetFactionInfo(i))
	local friendID, _, _, name = GetFriendshipReputation(factionID)
	if friendID then
		local currentRank, maxRank = GetFriendshipReputationRanks(friendID)
		print(friendID, name, currentRank, maxRank)
	end
end
==See also==
* 
* 
==Patch changes==