mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-10-24 00:44:23 +00:00
hghhgg
This commit is contained in:
@@ -68,7 +68,7 @@ void UAdvancedSessionsLibrary::GetSessionState(TEnumAsByte<EBPOnlineSessionState
|
||||
SessionState = ((EBPOnlineSessionState::Type)SessionInterface->GetSessionState(GameSessionName));
|
||||
}
|
||||
|
||||
void UAdvancedSessionsLibrary::GetSessionSettings(int32 &NumConnections, bool &bIsLAN, bool &bIsDedicated, bool &bIsAnticheatEnabled, int32 &BuildUniqueID, TArray<FSessionPropertyKeyPair> &ExtraSettings, TEnumAsByte<EBlueprintResultSwitch::Type> &Result)
|
||||
void UAdvancedSessionsLibrary::GetSessionSettings(int32 &NumConnections, int32 &NumPrivateConnections, bool &bIsLAN, bool &bIsDedicated, bool &bIsAnticheatEnabled, int32 &BuildUniqueID, TArray<FSessionPropertyKeyPair> &ExtraSettings, TEnumAsByte<EBlueprintResultSwitch::Type> &Result)
|
||||
{
|
||||
IOnlineSessionPtr SessionInterface = Online::GetSessionInterface();
|
||||
|
||||
@@ -86,8 +86,10 @@ void UAdvancedSessionsLibrary::GetSessionSettings(int32 &NumConnections, bool &b
|
||||
Result = EBlueprintResultSwitch::Type::OnFailure;
|
||||
return;
|
||||
}
|
||||
|
||||
BuildUniqueID = settings->BuildUniqueId;
|
||||
NumConnections = settings->NumPublicConnections;
|
||||
NumPrivateConnections = settings->NumPrivateConnections;
|
||||
bIsLAN = settings->bIsLANMatch;
|
||||
bIsDedicated = settings->bIsDedicated;
|
||||
bIsAnticheatEnabled = settings->bAntiCheatProtected;
|
||||
|
||||
Reference in New Issue
Block a user