Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemSteam
An abstract ping interface for Steam ideally usable with the new SteamSocket internet protocol
| Name | FOnlinePingInterfaceSteam |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystemSteam/Source/Public/OnlinePingInterfaceSteam.h |
| Include Path | #include "OnlinePingInterfaceSteam.h" |
Syntax
class FOnlinePingInterfaceSteam
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FOnlinePingInterfaceSteam
(
FOnlineSubsystemSteam* InSubsystem |
OnlinePingInterfaceSteam.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FOnlinePingInterfaceSteam() |
OnlinePingInterfaceSteam.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetHostPingData () |
Returns the P2P relay ping information for the current machine. | OnlinePingInterfaceSteam.h | |
int32 GetPingFromHostData
(
const FString& HostPingStr |
Calculates the ping of this client using the given host's ping data obtained from GetHostPingData. | OnlinePingInterfaceSteam.h | |
bool IsRecalculatingPing () |
An informative member that allows us to check if we are recalculating our ping information over the Valve network. | OnlinePingInterfaceSteam.h | |
bool IsUsingP2PRelays () |
Returns if this application is set up to use the Steam P2P Relay Network for communication. | OnlinePingInterfaceSteam.h |