Why NumOpenPrivateConnection copy NumOpenPublicConnections

PowerOfJelly
Mon, 24 Jun 2024 13:16:24 +0000
Programming & Scripting

I have a question about OnlineSubsystemEOS

void FOnlineSessionEOS::CopySearchResult(const FSessionDetailsEOS& SessionHandle, EOS_SessionDetails_Info* SessionInfo, FOnlineSession& OutSession)
{
	OutSession.NumOpenPrivateConnections = SessionInfo->NumOpenPublicConnections;
	OutSession.SessionSettings.NumPrivateConnections = SessionInfo->Settings->NumPublicConnections;
.
.
.

Above code is copying from NumOpenPublicConnections to NumOpenPrivateConnections.
Can I know why it works like this?

1 post - 1 participant