Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AGameSession
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameSession.h |
| Include | #include "GameFramework/GameSession.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameSession.cpp |
virtual void UpdateSessionJoinability
(
FName InSessionName,
bool bPublicSearchable,
bool bAllowInvites,
bool bJoinViaPresence,
bool bJoinViaPresenceFriendsOnly
)
Remarks
Update session join parameters
Parameters
| Name | Description |
|---|---|
| SessionName | name of session to update |
| bPublicSearchable | can the game be found via matchmaking |
| bAllowInvites | can you invite friends |
| bJoinViaPresence | anyone who can see you can join the game |
| bJoinViaPresenceFriendsOnly | can only friends actively join your game |