Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
Include |
#include "Interfaces/OnlineGroupsInterface.h" |
void DeclineInvite
(
const FUniqueNetId & ContextUserId,
const FUniqueNetId & GroupId,
const FOnGroupsRequestCompleted & OnCompleted
)
Decline a pending invite to join a group. This is done on behalf of the context user (provided when you request this IOnlineGroups interface) and also updates the their cached membership info. You can call GetCachedUserMembership afterwards to see if they are a full member or petitioner.
Parameter |
Description |
---|---|
ContextUserId |
The ID of the user whose credentials are being used to make this call |
GroupId |
The group's globally unique ID |
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. |