SteamNetConnectionStatusChangedCallback
Swift
public struct SteamNetConnectionStatusChangedCallback: Sendable
Steamworks SteamNetConnectionStatusChangedCallback_t
Topics
var conn: HSteamNetConnection
var conn: HSteamNetConnection
var info: SteamNetConnectionInfo
var info: SteamNetConnectionInfo
var oldState: SteamNetworkingConnectionState
var oldState: SteamNetworkingConnectionState
init(conn: HSteamNetConnection, info: SteamNetConnectionInfo, oldState: SteamNetworkingConnectionState)
init(conn: HSteamNetConnection, info: SteamNetConnectionInfo, oldState: SteamNetworkingConnectionState)
Create a customized SteamNetConnectionStatusChangedCallback
Declaration
Swift
public init(
conn: HSteamNetConnection = 0,
info: SteamNetConnectionInfo = SteamNetConnectionInfo(),
oldState: SteamNetworkingConnectionState = .none)