Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemSteam > API/Plugins/OnlineSubsystemSteam/FOnlinePingInterfaceSteam
References
| Module | OnlineSubsystemSteam |
| Header | /Engine/Plugins/Online/OnlineSubsystemSteam/Source/Public/OnlinePingInterfaceSteam.h |
| Include | #include "OnlinePingInterfaceSteam.h" |
int32 GetPingFromHostData
&40;
const FString & HostPingStr
&41; const
Remarks
Calculates the ping of this client using the given host's ping data obtained from GetHostPingData. The ping value to the given host if it can be calculated, otherwise -1 on error.
Parameters
| Name | Description |
|---|---|
| HostPingStr | The relay information blob we got from the host. This information should be directly serialized over the network and not tampered with. |