HSteamNetConnection
Swift
public struct HSteamNetConnection: Hashable, Sendable
extension HSteamNetConnection: ExpressibleByIntegerLiteral
Steamworks HSteamNetConnection
Topics
var value: CUnsignedInt
var value: CUnsignedInt
Declaration
Swift
public let value: CUnsignedInt
init(CUnsignedInt)
init(CUnsignedInt)
Declaration
Swift
public init(_ value: CUnsignedInt)
static var invalid: HSteamNetConnection
static var invalid: HSteamNetConnection
Steamworks k_HSteamNetConnection_Invalid
Declaration
Swift
public static let invalid: HSteamNetConnection
init(integerLiteral: CUnsignedInt)
init(integerLiteral: CUnsignedInt)
Creates an instance initialized to the specified integer value.
Do not call this initializer directly. Instead, initialize a variable or constant using an integer literal. For example:
let x = 23
In this example, the assignment to the x
constant calls this integer literal initializer behind the scenes.
Declaration
Swift
public init(integerLiteral value: CUnsignedInt)
Parameters
value |
The value to create. |