Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlineGroups
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InviteUser
(
const FUniqueNetId& ContextUserId, |
Invite a user to join the specified group. | Interfaces/OnlineGroupsInterface.h | |
void InviteUser
(
const FUniqueNetId& ContextUserId, |
Invite a user to join the specified group. | Interfaces/OnlineGroupsInterface.h |
InviteUser(const FUniqueNetId &, const FUniqueNetId &, const FUniqueNetId &, const FOnGroupsRequestCompleted &)
Description
Invite a user to join the specified group.
| Name | InviteUser |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
| Include Path | #include "Interfaces/OnlineGroupsInterface.h" |
virtual void InviteUser
(
const FUniqueNetId & ContextUserId,
const FUniqueNetId & GroupId,
const FUniqueNetId & UserId,
const FOnGroupsRequestCompleted & OnCompleted
)
Parameters
| Name | Remarks |
|---|---|
| ContextUserId | The ID of the user whose credentials are being used to make this call |
| GroupId | The group's globally unique ID |
| UserId | The user to add to the group. |
| 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. |
InviteUser(const FUniqueNetId &, const FUniqueNetId &, const FUniqueNetId &, bool, const FOnGroupsRequestCompleted &)
Description
Invite a user to join the specified group.
| Name | InviteUser |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
| Include Path | #include "Interfaces/OnlineGroupsInterface.h" |
void InviteUser
(
const FUniqueNetId & ContextUserId,
const FUniqueNetId & GroupId,
const FUniqueNetId & UserId,
bool bAllowBlocked,
const FOnGroupsRequestCompleted & OnCompleted
)
Parameters
| Name | Remarks |
|---|---|
| ContextUserId | The ID of the user whose credentials are being used to make this call |
| GroupId | The group's globally unique ID |
| UserId | The user to add to the group. |
| bAllowBlocked | If true, if the user is on the group's denylist, the user will be unblocked before creating the invite. Otherwise adding a blocked user will fail. |
| 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. |