Asserts steamID type before conversion
| 627 | |
| 628 | // Asserts steamID type before conversion |
| 629 | CSteamID ClanIDFromChatID( const CSteamID &steamIDChat ) |
| 630 | { |
| 631 | Assert( steamIDChat.GetEAccountType() == k_EAccountTypeChat ); |
| 632 | Assert( k_EChatInstanceFlagClan & steamIDChat.GetUnAccountInstance() ); |
| 633 | |
| 634 | return CSteamID( steamIDChat.GetAccountID(), 0, steamIDChat.GetEUniverse(), k_EAccountTypeClan ); |
| 635 | } |
| 636 | |
| 637 | |
| 638 | //----------------------------------------------------------------------------- |
no test coverage detected