Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
| Include | #include "Interfaces/OnlineGroupsInterface.h" |
Syntax
class IOnlineGroups
Remarks
Interface definition for the online teams (groups) service Groups are collections of users with an owner and a set of administrators
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnGroupUpdated | OnGroupUpdated |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AcceptInvite
(
const FUniqueNetId& ContextUserId, |
Accept a pending invite to join a group. | |
| void | AcceptUser
(
const FUniqueNetId& ContextUserId, |
Accept a user request to join the group. | |
| void | BlockUser
(
const FUniqueNetId& ContextUserId, |
Ban a user from joining the specified group. | |
| void | CancelInvite
(
const FUniqueNetId& ContextUserId, |
Cancels an invitation to join the group. | |
| void | CancelRequest
(
const FUniqueNetId& ContextUserId, |
Cancel pending request to join the given group. | |
| void | CreateGroup
(
const FUniqueNetId& ContextUserId, |
Create a new group using the specified GroupInfo. | |
| void | DeclineInvite
(
const FUniqueNetId& ContextUserId, |
Decline a pending invite to join a group. | |
| void | DeclineUser
(
const FUniqueNetId& ContextUserId, |
Decline a user request to join the group. | |
| void | DeleteGroup
(
const FUniqueNetId& ContextUserId, |
Delete a group entirely. | |
| void | DemoteUser
(
const FUniqueNetId& ContextUserId, |
Demote an Admin to a Member within the specified group. | |
| void | FindGroups
(
const FUniqueNetId& ContextUserId, |
Find all groups matching the specified search string | |
| TSharedPtr< const IApplications > | GetCachedApplications
(
const FUniqueNetId& ContextUserId, |
Get cached pending application information (if it exists). | |
| TSharedPtr< const FGroupConfigEntryBool > | GetCachedConfigBool
(
const FString& Key |
Get the result of a previous configuration query. Only the member queried for will be valid. | |
| TSharedPtr< const FGroupConfigEntryInt > | GetCachedConfigInt
(
const FString& Key |
Get the result of a previous configuration query. Only the member queried for will be valid. | |
| TSharedPtr< const IGroupDenylist > | GetCachedGroupDenylist
(
const FUniqueNetId& ContextUserId, |
Get the cached list of users banned from this group. | |
| TSharedPtr< const IGroupInfo > | GetCachedGroupInfo
(
const FUniqueNetId& ContextUserId, |
Get the group info for a group that has been previously queried. | |
| TSharedPtr< const IGroupInvites > | GetCachedGroupInvites
(
const FUniqueNetId& ContextUserId, |
Get the cached list of outstanding invites to a group. | |
| TSharedPtr< const IGroupRequests > | GetCachedGroupRequests
(
const FUniqueNetId& ContextUserId, |
Get the cached list of users requesting to becoming members of a group. | |
| TSharedPtr< const IGroupRoster > | GetCachedGroupRoster
(
const FUniqueNetId& ContextUserId, |
Get the cached Roster (membership) information for a group. | |
| TSharedPtr< const IInvitations > | GetCachedInvitations
(
const FUniqueNetId& ContextUserId, |
Get cached pending invitation information (if it exists). | |
| TSharedPtr< const IUserMembership > | GetCachedUserMembership
(
const FUniqueNetId& ContextUserId, |
Get cached user membership information (if it exists). | |
| const FString & | GetNamespace () |
||
| void | InviteUser
(
const FUniqueNetId& ContextUserId, |
Invite a user to join the specified group. | |
| void | InviteUser
(
const FUniqueNetId& ContextUserId, |
Invite a user to join the specified group. | |
| void | JoinGroup
(
const FUniqueNetId& ContextUserId, |
Submit a request to join the specified group. | |
| void | LeaveGroup
(
const FUniqueNetId& ContextUserId, |
Tells the server to remove the context user from the specified group. | |
| void | PromoteUser
(
const FUniqueNetId& ContextUserId, |
Promote a Member to an Admin within the specified group. Fails if the user's role is not Member. | |
| void | QueryConfigHeadcount
(
const FUniqueNetId& ContextUserId, |
Queries the system configuration for system-wide group max membership headcount. | |
| void | QueryConfigMembership
(
const FUniqueNetId& ContextUserId, |
Queries the system configuration for system-wide user max membership count. | |
| void | QueryGroupDenylist
(
const FUniqueNetId& ContextUserId, |
Get the list of users banned from this group. | |
| void | QueryGroupInfo
(
const FUniqueNetId& ContextUserId, |
Ask the server for GroupInfo corresponding to the provided group ID. | |
| void | QueryGroupInvites
(
const FUniqueNetId& ContextUserId, |
Get the list of outstanding invites to a group. | |
| void | QueryGroupNameExist
(
const FUniqueNetId& ContextUserId, |
Ask the server if the given group name currently exists. | |
| void | QueryGroupRequests
(
const FUniqueNetId& ContextUserId, |
Get the list of users requesting to becoming members of a group. | |
| void | QueryGroupRoster
(
const FUniqueNetId& ContextUserId, |
Get the list of members for a group and their role info. | |
| void | QueryIncomingApplications
(
const FUniqueNetId& ContextUserId, |
Queries the server for a list of membership applications that UserId can process (accept, reject, or block) as group admin. | |
| void | QueryIncomingInvitations
(
const FUniqueNetId& ContextUserId, |
Queries the server for a list of groups to which the user has been invited. | |
| void | QueryOutgoingApplications
(
const FUniqueNetId& ContextUserId, |
Queries the server for a list of groups to which the user has applied for membership. | |
| void | QueryOutgoingInvitations
(
const FUniqueNetId& ContextUserId, |
Queries the server for a list of group invitations the user has sent. | |
| void | QueryUserMembership
(
const FUniqueNetId& ContextUserId, |
Queries the server for updated membership information for a particular user. | |
| void | RemoveUser
(
const FUniqueNetId& ContextUserId, |
Kick a user from the group OR decline a petition OR rescind an invitation (success always results in the user's role becoming Unaffiliated). | |
| void | SetNamespace
(
const FString& Ns |
||
| void | TransferGroup
(
const FUniqueNetId& ContextUserId, |
Promote an existing Admin to be the new Owner and simultaneously demotes the context user to Admin. | |
| void | UnblockUser
(
const FUniqueNetId& ContextUserId, |
Remove a user from the group's denylist list. | |
| void | UpdateGroupInfo
(
const FUniqueNetId& ContextUserId, |
Update the user specified fields of the group such as name, description, etc. |
Typedefs
| Name | Description |
|---|---|
| FOnGroupUpdated | Delegate fired when a group is updated. |