IOnlineUser::GetUserInfo

Get the cached user entry for a specific user id if found

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineUserInterface.h

Include

#include "Interfaces/OnlineUserInterface.h"

Syntax

TSharedPtr< FOnlineUser > GetUserInfo
(
    int32 LocalUserNum,
    const class FUniqueNetId & UserId
)

Remarks

Get the cached user entry for a specific user id if found

Returns

user info or null ptr if not found

Parameters

Parameter

Description

LocalUserNum

the local user that queried for online user data

UserId

id to use for finding the cached online user

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss