SteamInventoryResult
Swift
public struct SteamInventoryResult: Hashable, Sendable
extension SteamInventoryResult: ExpressibleByIntegerLiteral
Steamworks SteamInventoryResult_t
Topics
var value: CInt
var value: CInt
Declaration
Swift
public let value: CInt
init(CInt)
init(CInt)
Declaration
Swift
public init(_ value: CInt)
static var invalid: SteamInventoryResult
static var invalid: SteamInventoryResult
Steamworks k_SteamInventoryResultInvalid
Declaration
Swift
public static let invalid: SteamInventoryResult
init(integerLiteral: CInt)
init(integerLiteral: CInt)
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: CInt)
Parameters
value |
The value to create. |