internal PICSTokensCallback( CMsgPICSAccessTokenResponse msg ) #endif { PackageTokensDenied = new ReadOnlyCollection<uint>( msg.package_denied_tokens ); AppTokensDenied = new ReadOnlyCollection<uint>( msg.app_denied_tokens ); PackageTokens = new Dictionary<uint, ulong>(); AppTokens = new Dictionary<uint, ulong>(); foreach ( var package_token in msg.package_access_tokens ) { PackageTokens.Add( package_token.packageid, package_token.access_token ); } foreach ( var app_token in msg.app_access_tokens ) { AppTokens.Add( app_token.appid, app_token.access_token ); } }
internal PICSTokensCallback( SteamClient client, CMsgPICSAccessTokenResponse msg ) : base( client )