This commit is contained in:
Mr_Goldberg 2022-07-12 01:04:56 -04:00
parent d8bcb11ef2
commit 3f8ce69b6d
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
11 changed files with 215 additions and 28 deletions

View file

@ -772,6 +772,26 @@ STEAMAPI_API void SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialogConnectS
return (get_steam_client()->steam_friends)->ActivateGameOverlayInviteDialogConnectString(pchConnectString);
}
STEAMAPI_API SteamAPICall_t SteamAPI_ISteamFriends_RequestEquippedProfileItems( ISteamFriends* self, uint64_steamid steamID )
{
return (get_steam_client()->steam_friends)->RequestEquippedProfileItems(steamID);
}
STEAMAPI_API bool SteamAPI_ISteamFriends_BHasEquippedProfileItem( ISteamFriends* self, uint64_steamid steamID, ECommunityProfileItemType itemType )
{
return (get_steam_client()->steam_friends)->BHasEquippedProfileItem(steamID, itemType);
}
STEAMAPI_API const char * SteamAPI_ISteamFriends_GetProfileItemPropertyString( ISteamFriends* self, uint64_steamid steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop )
{
return (get_steam_client()->steam_friends)->GetProfileItemPropertyString(steamID, itemType, prop);
}
STEAMAPI_API uint32 SteamAPI_ISteamFriends_GetProfileItemPropertyUint( ISteamFriends* self, uint64_steamid steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop )
{
return (get_steam_client()->steam_friends)->GetProfileItemPropertyUint(steamID, itemType, prop);
}
STEAMAPI_API ISteamUtils *SteamAPI_SteamUtils_v010()
{
return get_steam_client()->GetISteamUtils(flat_hsteampipe(), "SteamUtils010");

View file

@ -1014,6 +1014,33 @@ void ActivateGameOverlayInviteDialogConnectString( const char *pchConnectString
PRINT_DEBUG("Steam_Friends::ActivateGameOverlayInviteDialogConnectString\n");
}
// Steam Community items equipped by a user on their profile
// You can register for EquippedProfileItemsChanged_t to know when a friend has changed their equipped profile items
STEAM_CALL_RESULT( EquippedProfileItems_t )
SteamAPICall_t RequestEquippedProfileItems( CSteamID steamID )
{
PRINT_DEBUG("Steam_Friends::RequestEquippedProfileItems\n");
return 0;
}
bool BHasEquippedProfileItem( CSteamID steamID, ECommunityProfileItemType itemType )
{
PRINT_DEBUG("Steam_Friends::BHasEquippedProfileItem\n");
return false;
}
const char *GetProfileItemPropertyString( CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop )
{
PRINT_DEBUG("Steam_Friends::GetProfileItemPropertyString\n");
return "";
}
uint32 GetProfileItemPropertyUint( CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop )
{
PRINT_DEBUG("Steam_Friends::GetProfileItemPropertyUint\n");
return 0;
}
void RunCallbacks()
{
PRINT_DEBUG("Steam_Friends::RunCallbacks\n");