----------------------------------------------------------------------------- Purpose: Returns the matching chat steamID, with the default instance of 0 Input: SteamID, either a Clan or a Chat type Output: SteamID with account type changed to chat, and the Clan flag set. If account type was not chat to start with, instance will be set to 0 ----------------------------------------------------------
| 593 | // If account type was not chat to start with, instance will be set to 0 |
| 594 | //----------------------------------------------------------------------------- |
| 595 | CSteamID ChatIDFromSteamID( const CSteamID &steamID ) |
| 596 | { |
| 597 | if ( steamID.GetEAccountType() == k_EAccountTypeChat ) |
| 598 | return steamID; |
| 599 | |
| 600 | return ChatIDFromClanID( steamID ); |
| 601 | } |
| 602 | |
| 603 | |
| 604 | //----------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected