MarketEligibilityResponse
Swift
public struct MarketEligibilityResponse: Sendable
Steamworks MarketEligibilityResponse_t
Topics
var allowed: Bool
var allowed: Bool
var notAllowedReason: MarketNotAllowedReasonFlags
var notAllowedReason: MarketNotAllowedReasonFlags
Steamworks m_eNotAllowedReason
Declaration
Swift
public let notAllowedReason: MarketNotAllowedReasonFlags
var allowedAtTime: RTime32
var allowedAtTime: RTime32
var steamGuardRequiredDays: Int
var steamGuardRequiredDays: Int
var newDeviceCooldown: Int
var newDeviceCooldown: Int
init(allowed: Bool, notAllowedReason: MarketNotAllowedReasonFlags, allowedAtTime: RTime32, steamGuardRequiredDays: Int, newDeviceCooldown: Int)
init(allowed: Bool, notAllowedReason: MarketNotAllowedReasonFlags, allowedAtTime: RTime32, steamGuardRequiredDays: Int, newDeviceCooldown: Int)
Create a customized MarketEligibilityResponse
Declaration
Swift
public init(
allowed: Bool = false, notAllowedReason: MarketNotAllowedReasonFlags = [],
allowedAtTime: RTime32 = 0, steamGuardRequiredDays: Int = 0,
newDeviceCooldown: Int = 0)