Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
Include |
#include "Interfaces/OnlineGroupsInterface.h" |
TSharedPtr< const IUserMembership > GetCachedUserMembership
(
const FUniqueNetId & ContextUserId,
const FUniqueNetId & UserId
)
Get cached user membership information (if it exists). This retrieves which groups they are members of. If UserId is the ID of the context user, then this list will include groups to which the user has been invited (use JoinGroup to accept, LeaveGroup to decline) or groups they have petitioned but haven't received a response for yet.
Parameter |
Description |
---|---|
ContextUserId |
The ID of the user whose credentials are being used to make this call |
UserId |
The ID of the user to query. |
OnCompleted |
This callback is invoked after contacting the server. It is guaranteed to occur (regardless of success/fail) and will not be called before this function returns. |