SteamRelayNetworkStatus
Swift
public struct SteamRelayNetworkStatus: Sendable
Steamworks SteamRelayNetworkStatus_t
Topics
var avail: SteamNetworkingAvailability
var avail: SteamNetworkingAvailability
var pingMeasurementInProgress: Bool
var pingMeasurementInProgress: Bool
Steamworks m_bPingMeasurementInProgress
Declaration
Swift
public let pingMeasurementInProgress: Bool
var availNetworkConfig: SteamNetworkingAvailability
var availNetworkConfig: SteamNetworkingAvailability
Steamworks m_eAvailNetworkConfig
Declaration
Swift
public let availNetworkConfig: SteamNetworkingAvailability
var availAnyRelay: SteamNetworkingAvailability
var availAnyRelay: SteamNetworkingAvailability
var debugMsg: String
var debugMsg: String
init(avail: SteamNetworkingAvailability, pingMeasurementInProgress: Bool, availNetworkConfig: SteamNetworkingAvailability, availAnyRelay: SteamNetworkingAvailability, debugMsg: String)
init(avail: SteamNetworkingAvailability, pingMeasurementInProgress: Bool, availNetworkConfig: SteamNetworkingAvailability, availAnyRelay: SteamNetworkingAvailability, debugMsg: String)
Create a customized SteamRelayNetworkStatus
Declaration
Swift
public init(
avail: SteamNetworkingAvailability = .cannotTry,
pingMeasurementInProgress: Bool = false,
availNetworkConfig: SteamNetworkingAvailability = .cannotTry,
availAnyRelay: SteamNetworkingAvailability = .cannotTry,
debugMsg: String = "")