SteamNetConnectionRealTimeStatus
Swift
public struct SteamNetConnectionRealTimeStatus: Sendable
Steamworks SteamNetConnectionRealTimeStatus_t
Topics
var state: SteamNetworkingConnectionState
var state: SteamNetworkingConnectionState
var ping: Int
var ping: Int
var connectionQualityLocal: Float
var connectionQualityLocal: Float
var connectionQualityRemote: Float
var connectionQualityRemote: Float
var outPacketsPerSec: Float
var outPacketsPerSec: Float
var outBytesPerSec: Float
var outBytesPerSec: Float
var inPacketsPerSec: Float
var inPacketsPerSec: Float
var inBytesPerSec: Float
var inBytesPerSec: Float
var sendRateBytesPerSecond: Int
var sendRateBytesPerSecond: Int
var pendingUnreliableSize: Int
var pendingUnreliableSize: Int
var pendingReliableSize: Int
var pendingReliableSize: Int
var sentUnackedReliableSize: Int
var sentUnackedReliableSize: Int
var queueTime: SteamNetworkingMicroseconds
var queueTime: SteamNetworkingMicroseconds
init(state: SteamNetworkingConnectionState, ping: Int, connectionQualityLocal: Float, connectionQualityRemote: Float, outPacketsPerSec: Float, outBytesPerSec: Float, inPacketsPerSec: Float, inBytesPerSec: Float, sendRateBytesPerSecond: Int, pendingUnreliableSize: Int, pendingReliableSize: Int, sentUnackedReliableSize: Int, queueTime: SteamNetworkingMicroseconds)
init(state: SteamNetworkingConnectionState, ping: Int, connectionQualityLocal: Float, connectionQualityRemote: Float, outPacketsPerSec: Float, outBytesPerSec: Float, inPacketsPerSec: Float, inBytesPerSec: Float, sendRateBytesPerSecond: Int, pendingUnreliableSize: Int, pendingReliableSize: Int, sentUnackedReliableSize: Int, queueTime: SteamNetworkingMicroseconds)
Create a customized SteamNetConnectionRealTimeStatus
Declaration
Swift
public init(
state: SteamNetworkingConnectionState = .none, ping: Int = 0,
connectionQualityLocal: Float = 0, connectionQualityRemote: Float = 0,
outPacketsPerSec: Float = 0, outBytesPerSec: Float = 0,
inPacketsPerSec: Float = 0, inBytesPerSec: Float = 0,
sendRateBytesPerSecond: Int = 0, pendingUnreliableSize: Int = 0,
pendingReliableSize: Int = 0, sentUnackedReliableSize: Int = 0,
queueTime: SteamNetworkingMicroseconds = 0)