Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlinePartySystem
Description
Respond to a query joinability request. This reflects the current party's joinability state and can change from moment to moment, and therefore does not guarantee a successful join.
| Name | RespondToQueryJoinability |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePartyInterface.h |
| Include Path | #include "Interfaces/OnlinePartyInterface.h" |
void RespondToQueryJoinability
(
const FUniqueNetId & LocalUserId,
const FOnlinePartyId & PartyId,
const FUniqueNetId & RecipientId,
bool bCanJoin,
int32 DeniedResultCode,
FOnlinePartyDataConstPtr PartyData
)
Parameters
| Name | Remarks |
|---|---|
| LocalUserId | user making the request |
| PartyId | id of an existing party |
| RecipientId | id of the user being invited |
| bCanJoin | whether the player can attempt to join or not |
| DeniedResultCode | used when bCanJoin is false - client defined value to return when leader denies approval |
| PartyData | data to send back to the querying user |