Navigation
Unreal Engine C++ API Reference > 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
&40;
FName InSessionName,
bool bPublicSearchable,
bool bAllowInvites,
bool bJoinViaPresence,
bool bJoinViaPresenceFriendsOnly
&41;
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 |