SteamItemInstanceID

Swift
public struct SteamItemInstanceID: Hashable, Sendable

extension SteamItemInstanceID: ExpressibleByIntegerLiteral

Steamworks SteamItemInstanceID_t


Topics

var value: CUnsignedLongLong

Declaration
Swift
public let value: CUnsignedLongLong

init(CUnsignedLongLong)

Declaration
Swift
public init(_ value: CUnsignedLongLong)

static var invalid: SteamItemInstanceID

Steamworks k_SteamItemInstanceIDInvalid

Declaration
Swift
public static let invalid: SteamItemInstanceID

init(integerLiteral: CUnsignedLongLong)

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: CUnsignedLongLong)
Parameters
value

The value to create.