SteamNetConnectionInfo
Swift
public struct SteamNetConnectionInfo: Sendable
Steamworks SteamNetConnectionInfo_t
Topics
var identityRemote: SteamNetworkingIdentity
var identityRemote: SteamNetworkingIdentity
var userData: Int
var userData: Int
var listenSocket: HSteamListenSocket
var listenSocket: HSteamListenSocket
var addrRemote: SteamNetworkingIPAddr
var addrRemote: SteamNetworkingIPAddr
var popRemote: SteamNetworkingPOPID
var popRemote: SteamNetworkingPOPID
var popRelay: SteamNetworkingPOPID
var popRelay: SteamNetworkingPOPID
var state: SteamNetworkingConnectionState
var state: SteamNetworkingConnectionState
var endReason: Int
var endReason: Int
var endDebug: String
var endDebug: String
var connectionDescription: String
var connectionDescription: String
var flags: SteamNetworkConnectionInfoFlags
var flags: SteamNetworkConnectionInfoFlags
init(identityRemote: SteamNetworkingIdentity, userData: Int, listenSocket: HSteamListenSocket, addrRemote: SteamNetworkingIPAddr, popRemote: SteamNetworkingPOPID, popRelay: SteamNetworkingPOPID, state: SteamNetworkingConnectionState, endReason: Int, endDebug: String, connectionDescription: String, flags: SteamNetworkConnectionInfoFlags)
init(identityRemote: SteamNetworkingIdentity, userData: Int, listenSocket: HSteamListenSocket, addrRemote: SteamNetworkingIPAddr, popRemote: SteamNetworkingPOPID, popRelay: SteamNetworkingPOPID, state: SteamNetworkingConnectionState, endReason: Int, endDebug: String, connectionDescription: String, flags: SteamNetworkConnectionInfoFlags)
Create a customized SteamNetConnectionInfo
Declaration
Swift
public init(
identityRemote: SteamNetworkingIdentity = SteamNetworkingIdentity(),
userData: Int = 0, listenSocket: HSteamListenSocket = 0,
addrRemote: SteamNetworkingIPAddr = SteamNetworkingIPAddr(),
popRemote: SteamNetworkingPOPID = 0, popRelay: SteamNetworkingPOPID = 0,
state: SteamNetworkingConnectionState = .none, endReason: Int = 0,
endDebug: String = "", connectionDescription: String = "",
flags: SteamNetworkConnectionInfoFlags = [])