I’v finished my functions and they are working well on PS4 with OnlineSubsystemInterfaces. But I can’t find OnlineUserInterfaceSteam when working on Steam. What can I do to complete the function of OnlineUserInterface::GetUserInfo() to get basic info(like display name or avatar image) of non-friend users(or strangers).
Hi.
For get list friends:
OnlineFriends = OnlineSubsystemSteam->GetFriendsInterface();
OnlineFriends->ReadFriendsList(0, EFriendsLists::ToString(EFriendsLists::Default), FOnReadFriendsListComplete::CreateUObject(this, &UMyClass::OnReadFriendsComplete));
For get avatars in my project I use my custom modification for OnlineSubsystemSteam plugin.
Here my demo:
Appreciate your reply.
But I am looking forward to get infos of strangers but not friends.
Any ideas maybe?
Thanks again.
Hm, maybe this:
UserInterface = OnlineSubsystemSteam->GetUserInterface();
UserInterface->GetAllUserInfo
UserInterface->GetUserInfo
Unfortunately, there is no OnlineUserInterfaceSteam.h, which means “OnlineSubsystemSteam->GetUserInterface()” would return nullptr.