IOnlineGroups::GetCachedGroupInfo

Get the group info for a group that has been previously queried.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineGroupsInterface.h"

Syntax

TSharedPtr< const IGroupInfo > GetCachedGroupInfo
(
    const FUniqueNetId & ContextUserId,
    const FUniqueNetId & GroupId
)

Remarks

Get the group info for a group that has been previously queried. The shared pointer will be empty if the group has not been successfully queried (or if it was purged from the cache). From time to time, the cache may be cleaned up. Keep a shared pointer to groups you care about or be willing to re-query.

Returns

Shared pointer to the cached group info structure if one exists.

Parameters

Parameter

Description

ContextUserId

The ID of the user whose credentials are being used to make this call

GroupId

The group's globally unique ID

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