IOnlineGroups::CreateGroup

Create a new group using the specified GroupInfo.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineGroupsInterface.h"

Syntax

void CreateGroup
(
    const FUniqueNetId & ContextUserId,
    const FGroupDisplayInfo & GroupInfo,
    const FOnGroupsRequestCompleted & OnCompleted
)

Remarks

Create a new group using the specified GroupInfo. FGroupsResult::GroupId can be used to identify the newly created group once the callback executes (FGroupsResult being a param to the callback).

Parameters

Parameter

Description

ContextUserId

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

GroupInfo

The display info to use for the new group. Name, description, etc

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.

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