Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlineGroups
Description
Get cached pending invitation information (if it exists). This retrieves a list of membership invitations that the user's admin clans have created (outgoing) or to which the user can respond (incoming).
| Name | GetCachedInvitations |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
| Include Path | #include "Interfaces/OnlineGroupsInterface.h" |
TSharedPtr < const IInvitations > GetCachedInvitations
(
const FUniqueNetId & ContextUserId,
const FUniqueNetId & UserId
)
Parameters
| Name | Remarks |
|---|---|
| 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. |