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