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

Function ChatIDFromClanID

src/common/steamid.cpp:620–625  ·  view source on GitHub ↗

Asserts steamID type before conversion

Source from the content-addressed store, hash-verified

618
619// Asserts steamID type before conversion
620CSteamID ChatIDFromClanID( const CSteamID &steamIDClan )
621{
622 Assert( steamIDClan.GetEAccountType() == k_EAccountTypeClan );
623
624 return CSteamID( steamIDClan.GetAccountID(), k_EChatInstanceFlagClan, steamIDClan.GetEUniverse(), k_EAccountTypeChat );
625}
626
627
628// Asserts steamID type before conversion

Callers 1

ChatIDFromSteamIDFunction · 0.85

Calls 4

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

Tested by

no test coverage detected