swiftlys2/docs/api/releases/features/ai/
API Reference › SteamAPI

SteamRelayNetworkStatus_t

Struct
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public struct SteamRelayNetworkStatus_t

A struct used to describe our readiness to use the relay network. To do this we first need to fetch the network configuration, which describes what POPs are available.

View source

Properties

m_debugMsg

public string m_debugMsg { get; set; }
Property Value

Fields

k_iCallback

public const int k_iCallback = 1281
Field Value

m_bPingMeasurementInProgress

Nonzero if latency measurement is in progress (or pending, awaiting a prerequisite).

public int m_bPingMeasurementInProgress
Field Value

m_eAvail

Summary status. When this is "current", initialization has completed. Anything else means you are not ready yet, or there is a significant problem.

public ESteamNetworkingAvailability m_eAvail

m_eAvailAnyRelay

Current ability to communicate with ANY relay. Note that the complete failure to communicate with any relays almost always indicates a problem with the local Internet connection. (However, just because you can reach a single relay doesn't mean that the local connection is in perfect health.)

public ESteamNetworkingAvailability m_eAvailAnyRelay

m_eAvailNetworkConfig

Status obtaining the network config. This is a prerequisite for relay network access. Failure to obtain the network config almost always indicates a problem with the local internet connection.

public ESteamNetworkingAvailability m_eAvailNetworkConfig