GetBeaconPortFromSessionSettings

Retrieve the beacon port from the specified session settings

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystem.h

Include

#include "OnlineSubsystem.h"

Syntax

int32 GetBeaconPortFromSessionSettings
(
    const class FOnlineSessionSettings & SessionSettings
)

Remarks

Retrieve the beacon port from the specified session settings

Returns

the port if found, otherwise DEFAULT_BEACON_PORT

Parameters

Parameter

Description

SessionSettings

the session settings that contains the BEACON_PORT setting

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss