FOnlinePingInterfaceSteam

An abstract ping interface for Steam ideally usable with the new SteamSocket internet protocol

Choose your operating system:

Windows

macOS

Linux

References

Module

OnlineSubsystemSteam

Header

/Engine/Plugins/Online/OnlineSubsystemSteam/Source/Public/OnlinePingInterfaceSteam.h

Include

#include "OnlinePingInterfaceSteam.h"

Syntax

class FOnlinePingInterfaceSteam

Remarks

An abstract ping interface for Steam ideally usable with the new SteamSocket internet protocol

Variables

Name Description

Protected variable

FOnlineSubsyste...

 

Subsystem

Constructors

Name Description

Public function

FOnlinePingInterfaceSteam

(
    FOnlineSubsystemSteam* InSubsy...
)

Destructors

Name Description

Public function Virtual

~FOnlinePingInterfaceSteam()

Functions

Name Description

Public function Const

FString

 

GetHostPingData()

Returns the P2P relay ping information for the current machine.

Public function Const

int32

 

GetPingFromHostData

(
    const FString& HostPingStr
)

Calculates the ping of this client using the given host's ping data obtained from GetHostPingData.

Public function Const

bool

 

IsRecalculatingPing()

An informative member that allows us to check if we are recalculating our ping information over the Valve network.

Public function Const

bool

 

IsUsingP2PRelays()

Returns if this application is set up to use the Steam P2P Relay Network for communication.