MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / ClanIDFromChatID

Function ClanIDFromChatID

src/common/steamid.cpp:629–635  ·  view source on GitHub ↗

Asserts steamID type before conversion

Source from the content-addressed store, hash-verified

627
628// Asserts steamID type before conversion
629CSteamID 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//-----------------------------------------------------------------------------

Callers 1

ClanIDFromSteamIDFunction · 0.85

Calls 5

CSteamIDClass · 0.85
GetEAccountTypeMethod · 0.80
GetUnAccountInstanceMethod · 0.80
GetAccountIDMethod · 0.80
GetEUniverseMethod · 0.80

Tested by

no test coverage detected