\n" ); SteamAPICall_t handle = SteamFriends()->EnumerateFollowingList( 0 ); m_SteamCallResultFriendsEnumerateFollowingList.Set( handle, this, &CEnumerateFollowingListExample::OnFriendsEnumerateFollowingList ); } void CEnumerateFollowingListExample::OnFriendsEnumerateFollowingList( FriendsEnumerateFollowingList_t *pCallback, bool bIOFailure ) { if ( pCallback->m_eResult != k_EResultOK || bIOFailure ) { printf( "OnFriendsEnumerateFollowingList failed with m_eResult: %d and bIOFailure: %d!", pCallback->m_eResult, bIOFailure ); return; } printf( "FriendsEnumerateFollowingList retrieved %d of %d people that we follow.…
\n" ); SteamAPICall_t handle = SteamFriends()->GetFollowerCount( SteamUser()->GetSteamID() ); m_SteamCallResultFriendsGetFollowerCount.Set( handle, this, &GetFollowerCountExample::OnFriendsGetFollowerCount ); } void GetFollowerCountExample::OnFriendsGetFollowerCount( FriendsGetFollowerCount_t *pCallback, bool bIOFailure ) { if ( pCallback->m_eResult != k_EResultOK || bIOFailure ) { printf( "OnFriendsGetFollowerCount failed for %lld with m_eResult: %d and bIOFailure: %d!", pCallback->m_steamID.ConvertToUint64(), pCallback->m_eResult, bIOFailure ); return; } printf( "Got a FriendsGetFollowerCount_t, we have %d followers.…
[/td][/tr] [tr][td][b]bResult[/b][/td][td]bool[/td][td]Set this to [b]true[/b] to simulate pressing the "OK" button, otherwise [b]false[/b] for "Cancel".[/td][/tr] [/table] Allows you to react to a page wanting to open a javascript modal dialog notification. …
= nCurrentMinorRevision ) { // The minor version out of date, but that's ok // next time they edit their config this will get fixed } if ( nMajorRevision != nCurrentMajorRevision ) { // This should only happen briefly while Steam detects // and then force-updates the user to the latest official config } } else { // The configuration isn't loaded for this controller yet } [/code] [b]Example In-game Action File Usage:[/b] [code] "In Game Actions" { "major_revision" "0" “minor_revision” “1” "actions" { ... …