UserRestriction
Swift
public struct UserRestriction: OptionSet, Sendable
Steamworks EUserRestriction
Topics
var rawValue: CUnsignedInt
var rawValue: CUnsignedInt
The flags value.
Declaration
Swift
public let rawValue: CUnsignedInt
init(rawValue: CUnsignedInt)
init(rawValue: CUnsignedInt)
Create a new instance with rawValue
flags set.
Declaration
Swift
public init(rawValue: CUnsignedInt)
static var none: UserRestriction
static var none: UserRestriction
static var unknown: UserRestriction
static var unknown: UserRestriction
static var anyChat: UserRestriction
static var anyChat: UserRestriction
static var voiceChat: UserRestriction
static var voiceChat: UserRestriction
Steamworks k_nUserRestrictionVoiceChat
Declaration
Swift
public static let voiceChat: UserRestriction
static var groupChat: UserRestriction
static var groupChat: UserRestriction
Steamworks k_nUserRestrictionGroupChat
Declaration
Swift
public static let groupChat: UserRestriction
static var rating: UserRestriction
static var rating: UserRestriction
static var gameInvites: UserRestriction
static var gameInvites: UserRestriction
Steamworks k_nUserRestrictionGameInvites
Declaration
Swift
public static let gameInvites: UserRestriction
static var trading: UserRestriction
static var trading: UserRestriction