SearchForGameResultCallback

Swift
public struct SearchForGameResultCallback: Sendable

Steamworks SearchForGameResultCallback_t


Topics

var searchID: UInt64

Steamworks m_ullSearchID

Declaration
Swift
public let searchID: UInt64

var result: Result

Steamworks m_eResult

Declaration
Swift
public let result: Result

var countPlayersInGame: Int

Steamworks m_nCountPlayersInGame

Declaration
Swift
public let countPlayersInGame: Int

var countAcceptedGame: Int

Steamworks m_nCountAcceptedGame

Declaration
Swift
public let countAcceptedGame: Int

var host: SteamID

Steamworks m_steamIDHost

Declaration
Swift
public let host: SteamID

var finalCallback: Bool

Steamworks m_bFinalCallback

Declaration
Swift
public let finalCallback: Bool

init(searchID: UInt64, result: Result, countPlayersInGame: Int, countAcceptedGame: Int, host: SteamID, finalCallback: Bool)

Create a customized SearchForGameResultCallback

Declaration
Swift
public init(
    searchID: UInt64 = 0, result: Result = .none, countPlayersInGame: Int = 0,
    countAcceptedGame: Int = 0, host: SteamID = SteamID(),
    finalCallback: Bool = false)