Common Types
Topics
Simple types
struct AccountID
struct AccountID
Steamworks AccountID_t
Declaration
public struct AccountID: Hashable, Sendable
extension AccountID: ExpressibleByIntegerLiteral
struct AppID
struct AppID
Steamworks AppId_t
Declaration
public struct AppID: Hashable, Sendable
extension AppID: ExpressibleByIntegerLiteral
struct DepotID
struct DepotID
Steamworks DepotId_t
Declaration
public struct DepotID: Hashable, Sendable
extension DepotID: ExpressibleByIntegerLiteral
struct HAuthTicket
struct HAuthTicket
Steamworks HAuthTicket
Declaration
public struct HAuthTicket: Hashable, Sendable
extension HAuthTicket: ExpressibleByIntegerLiteral
struct HSteamPipe
struct HSteamPipe
Steamworks HSteamPipe
Declaration
public struct HSteamPipe: Hashable, Sendable
extension HSteamPipe: ExpressibleByIntegerLiteral
struct HSteamUser
struct HSteamUser
Steamworks HSteamUser
Declaration
public struct HSteamUser: Hashable, Sendable
extension HSteamUser: ExpressibleByIntegerLiteral
struct PartyBeaconID
struct PartyBeaconID
Steamworks PartyBeaconID_t
Declaration
public struct PartyBeaconID: Hashable, Sendable
extension PartyBeaconID: ExpressibleByIntegerLiteral
struct RTime32
struct RTime32
Steamworks RTime32
Declaration
public struct RTime32: Hashable, Sendable
extension RTime32: ExpressibleByIntegerLiteral
struct SteamAPICall
struct SteamAPICall
Steamworks SteamAPICall_t
Declaration
public struct SteamAPICall: Hashable, Sendable
extension SteamAPICall: ExpressibleByIntegerLiteral
typealias SteamAPIWarningMessageHook
typealias SteamAPIWarningMessageHook
struct SteamErrMsg
struct SteamErrMsg
typealias SteamUnsafeMutablePointer
typealias SteamUnsafeMutablePointer
Declaration
public typealias SteamUnsafeMutablePointer<T> = SteamUncheckedSendable<
UnsafeMutablePointer<T>
>
typealias SteamUnsafeMutableRawPointer
typealias SteamUnsafeMutableRawPointer
Declaration
public typealias SteamUnsafeMutableRawPointer = SteamUncheckedSendable<
UnsafeMutableRawPointer
>
typealias SteamUnsafeRawPointer
typealias SteamUnsafeRawPointer
Declaration
public typealias SteamUnsafeRawPointer = SteamUncheckedSendable<
UnsafeRawPointer
>
Enumerations and Option Sets
enum AccountType
enum AccountType
enum AuthSessionResponse
enum AuthSessionResponse
Steamworks EAuthSessionResponse
Declaration
public enum AuthSessionResponse: CUnsignedInt, Sendable
enum BeginAuthSessionResult
enum BeginAuthSessionResult
Steamworks EBeginAuthSessionResult
Declaration
public enum BeginAuthSessionResult: CUnsignedInt, Sendable
struct BetaBranchFlags
struct BetaBranchFlags
enum BroadcastUploadResult
enum BroadcastUploadResult
Steamworks EBroadcastUploadResult
Declaration
public enum BroadcastUploadResult: CUnsignedInt, Sendable
enum ChatEntryType
enum ChatEntryType
enum ChatRoomEnterResponse
enum ChatRoomEnterResponse
Steamworks EChatRoomEnterResponse
Declaration
public enum ChatRoomEnterResponse: CUnsignedInt, Sendable
struct ChatSteamIDInstanceFlags
struct ChatSteamIDInstanceFlags
Steamworks EChatSteamIDInstanceFlags
Declaration
public struct ChatSteamIDInstanceFlags: OptionSet, Sendable
enum DenyReason
enum DenyReason
enum DurationControlNotification
enum DurationControlNotification
Steamworks EDurationControlNotification
Declaration
public enum DurationControlNotification: CUnsignedInt, Sendable
enum DurationControlOnlineState
enum DurationControlOnlineState
Steamworks EDurationControlOnlineState
Declaration
public enum DurationControlOnlineState: CUnsignedInt, Sendable
enum DurationControlProgress
enum DurationControlProgress
Steamworks EDurationControlProgress
Declaration
public enum DurationControlProgress: CUnsignedInt, Sendable
enum GameSearchErrorCode
enum GameSearchErrorCode
Steamworks EGameSearchErrorCode_t
Declaration
public enum GameSearchErrorCode: CUnsignedInt, Sendable
struct MarketNotAllowedReasonFlags
struct MarketNotAllowedReasonFlags
Steamworks EMarketNotAllowedReasonFlags
Declaration
public struct MarketNotAllowedReasonFlags: OptionSet, Sendable
enum NotificationPosition
enum NotificationPosition
enum PlayerResult
enum PlayerResult
enum Result
enum Result
enum ServerMode
enum ServerMode
enum SteamAPIInitResult
enum SteamAPIInitResult
Steamworks ESteamAPIInitResult
Declaration
public enum SteamAPIInitResult: CUnsignedInt, Sendable
enum SteamIPType
enum SteamIPType
enum SteamIPv6ConnectivityProtocol
enum SteamIPv6ConnectivityProtocol
Steamworks ESteamIPv6ConnectivityProtocol
Declaration
public enum SteamIPv6ConnectivityProtocol: CUnsignedInt, Sendable
enum SteamIPv6ConnectivityState
enum SteamIPv6ConnectivityState
Steamworks ESteamIPv6ConnectivityState
Declaration
public enum SteamIPv6ConnectivityState: CUnsignedInt, Sendable
enum Universe
enum Universe
enum UserHasLicenseForAppResult
enum UserHasLicenseForAppResult
Steamworks EUserHasLicenseForAppResult
Declaration
public enum UserHasLicenseForAppResult: CUnsignedInt, Sendable
enum VoiceResult
enum VoiceResult
Structures
struct GameID
struct GameID
Steamworks CGameID
- encapsulates an appID/modID pair
Declaration
public struct GameID
extension GameID: Hashable, Comparable, CustomStringConvertible, Sendable
struct SteamID
struct SteamID
The globally unique identifier for all Steam accounts, Steam groups, lobbies, and chat rooms.
Steamworks CSteamID
. Methods and interface style to follow Steamworks, see docs there.
Declaration
public struct SteamID
extension SteamID: Hashable, Comparable, CustomStringConvertible, Sendable
struct SteamIPAddress
struct SteamIPAddress
struct SteamUncheckedSendable
struct SteamUncheckedSendable
An unsafe Sendable
Sendable
wrapper.
This is used to wrap pointers that the Steam API uses in a potentially-sendable context.
Typically these pointers are read-only, whether or not the Steam API has marked them const
,
so there is no real risk to them, but the Steam API client code is responsible for serializing any
write action that is required.