UEMultiplayerSessionsSubsystem::CreateSession

Clear·2025년 2월 22일

EPortfolio docs

UEMultiplayerSessionsSubsystem

생성할 인원과 매치 타입을 받아 세션을 생성합니다.

Code

void CreateSession
(
	int32 NumPublicConnections,
	FString MatchType
)

Paramter

  • NumPublicConnections
    참가할 수 있는 최대 맴버
  • MatchType
    매치 타입

Functioning


  • NAME_GameSession 의 이름의 세션을 가져와 이미 존재한 세션인지 확인.
    GetNamedSession특정 이름의 세션

  • 이미 같은 이름의 세션이 존재한다면 DestroySession 세션삭제



profile
Programmer

0개의 댓글