SteamEncryptedAppTicket
Swift
public struct SteamEncryptedAppTicket: Sendable
Wrap up the SteamEncryptedAppTicket
functions.
Topics
static var symmetricKeyLen: Int
static var symmetricKeyLen: Int
Expected length in bytes of the encryption key
Declaration
Swift
public static let symmetricKeyLen: Int
init?(encryptedBytes: [UInt8], key: [UInt8])
init?(encryptedBytes: [UInt8], key: [UInt8])
Using the secret key, attempt to decrypt an encrypted app ticket previously returned by
ISteamUser::GetEncryptedAppTicket()
.
Returns nil
if the Steam API fails or the key isn’t long enough.
Steamworks SteamEncryptedAppTicket_BDecryptTicket()
.
Declaration
func isFor(appID: AppID) -> Bool
func isFor(appID: AppID) -> Bool
var issueTime: Steamworks.RTime32
var issueTime: Steamworks.RTime32
Steamworks SteamEncryptedAppTicket_GetTicketIssueTime()
Declaration
Swift
public var issueTime: Steamworks.RTime32 { get }
var steamID: SteamID
var steamID: SteamID
Steamworks SteamEncryptedAppTicket_GetTicketSteamID()
Declaration
Swift
public var steamID: SteamID { get }
var appID: AppID
var appID: AppID
Steamworks SteamEncryptedAppTicket_GetTicketAppID()
Declaration
Swift
public var appID: AppID { get }
func userOwns(app: AppID) -> Bool
func userOwns(app: AppID) -> Bool
var userIsVacBanned: Bool
var userIsVacBanned: Bool
Steamworks SteamEncryptedAppTicket_BUserIsVacBanned()
Declaration
Swift
public var userIsVacBanned: Bool { get }
var userVariableData: [UInt8]?
var userVariableData: [UInt8]?
Steamworks SteamEncryptedAppTicket_GetUserVariableData()
Declaration
Swift
public var userVariableData: [UInt8]? { get }