| 411 | ////////////////////////////////////////////////////////////////////////// |
| 412 | |
| 413 | LPCSTR InventoryUtilities::GetReputationAsText(CHARACTER_REPUTATION_VALUE rankID) |
| 414 | { |
| 415 | InitCharacterInfoStrings(); |
| 416 | |
| 417 | CharInfoStrings::const_iterator cit = charInfoReputationStrings->upper_bound(rankID); |
| 418 | if (charInfoReputationStrings->end() == cit) |
| 419 | return charInfoReputationStrings->rbegin()->second.c_str(); |
| 420 | |
| 421 | return cit->second.c_str(); |
| 422 | } |
| 423 | |
| 424 | ////////////////////////////////////////////////////////////////////////// |
| 425 |
nothing calls this directly
no test coverage detected