SteamGameSearch
Swift
public struct SteamGameSearch: Sendable
Steamworks ISteamGameSearch
Access via gameSearch
.
Topics
func acceptGame() -> GameSearchErrorCode
func acceptGame() -> GameSearchErrorCode
Steamworks ISteamGameSearch::AcceptGame()
Declaration
Swift
public func acceptGame() -> GameSearchErrorCode
func addGameSearchParams(keyToFind: String, valuesToFind: String) -> GameSearchErrorCode
func addGameSearchParams(keyToFind: String, valuesToFind: String) -> GameSearchErrorCode
Steamworks ISteamGameSearch::AddGameSearchParams()
Declaration
Swift
public func addGameSearchParams(keyToFind: String, valuesToFind: String)
-> GameSearchErrorCode
func cancelRequestPlayersForGame() -> GameSearchErrorCode
func cancelRequestPlayersForGame() -> GameSearchErrorCode
Steamworks ISteamGameSearch::CancelRequestPlayersForGame()
Declaration
Swift
public func cancelRequestPlayersForGame() -> GameSearchErrorCode
func declineGame() -> GameSearchErrorCode
func declineGame() -> GameSearchErrorCode
Steamworks ISteamGameSearch::DeclineGame()
Declaration
Swift
public func declineGame() -> GameSearchErrorCode
func endGame(uniqueGameID: UInt64) -> GameSearchErrorCode
func endGame(uniqueGameID: UInt64) -> GameSearchErrorCode
Steamworks ISteamGameSearch::EndGame()
Declaration
Swift
public func endGame(uniqueGameID: UInt64) -> GameSearchErrorCode
func endGameSearch() -> GameSearchErrorCode
func endGameSearch() -> GameSearchErrorCode
Steamworks ISteamGameSearch::EndGameSearch()
Declaration
Swift
public func endGameSearch() -> GameSearchErrorCode
func hostConfirmGameStart(uniqueGameID: UInt64) -> GameSearchErrorCode
func hostConfirmGameStart(uniqueGameID: UInt64) -> GameSearchErrorCode
Steamworks ISteamGameSearch::HostConfirmGameStart()
Declaration
Swift
public func hostConfirmGameStart(uniqueGameID: UInt64) -> GameSearchErrorCode
func requestPlayersForGame(playerMin: Int, playerMax: Int, maxTeamSize: Int) -> GameSearchErrorCode
func requestPlayersForGame(playerMin: Int, playerMax: Int, maxTeamSize: Int) -> GameSearchErrorCode
Steamworks ISteamGameSearch::RequestPlayersForGame()
Declaration
Swift
public func requestPlayersForGame(
playerMin: Int, playerMax: Int, maxTeamSize: Int
) -> GameSearchErrorCode
func retrieveConnectionDetails(host: SteamID, connectionDetailsSize: Int) -> (rc: GameSearchErrorCode, connectionDetails: String)
func retrieveConnectionDetails(host: SteamID, connectionDetailsSize: Int) -> (rc: GameSearchErrorCode, connectionDetails: String)
Steamworks ISteamGameSearch::RetrieveConnectionDetails()
Declaration
Swift
public func retrieveConnectionDetails(host: SteamID, connectionDetailsSize: Int)
-> (rc: GameSearchErrorCode, connectionDetails: String)
func searchForGameSolo(playerMin: Int, playerMax: Int) -> GameSearchErrorCode
func searchForGameSolo(playerMin: Int, playerMax: Int) -> GameSearchErrorCode
Steamworks ISteamGameSearch::SearchForGameSolo()
Declaration
Swift
public func searchForGameSolo(playerMin: Int, playerMax: Int)
-> GameSearchErrorCode
func searchForGameWithLobby(lobby: SteamID, playerMin: Int, playerMax: Int) -> GameSearchErrorCode
func searchForGameWithLobby(lobby: SteamID, playerMin: Int, playerMax: Int) -> GameSearchErrorCode
Steamworks ISteamGameSearch::SearchForGameWithLobby()
Declaration
Swift
public func searchForGameWithLobby(
lobby: SteamID, playerMin: Int, playerMax: Int
) -> GameSearchErrorCode
func setConnectionDetails(connectionDetails: String, connectionDetailsSize: Int) -> GameSearchErrorCode
func setConnectionDetails(connectionDetails: String, connectionDetailsSize: Int) -> GameSearchErrorCode
Steamworks ISteamGameSearch::SetConnectionDetails()
Declaration
Swift
public func setConnectionDetails(
connectionDetails: String, connectionDetailsSize: Int
) -> GameSearchErrorCode
func setGameHostParams(key: String, value: String) -> GameSearchErrorCode
func setGameHostParams(key: String, value: String) -> GameSearchErrorCode
Steamworks ISteamGameSearch::SetGameHostParams()
Declaration
Swift
public func setGameHostParams(key: String, value: String) -> GameSearchErrorCode
func submitPlayerResult(uniqueGameID: UInt64, player: SteamID, ePlayerResult: PlayerResult) -> GameSearchErrorCode
func submitPlayerResult(uniqueGameID: UInt64, player: SteamID, ePlayerResult: PlayerResult) -> GameSearchErrorCode
Steamworks ISteamGameSearch::SubmitPlayerResult()
Declaration
Swift
public func submitPlayerResult(
uniqueGameID: UInt64, player: SteamID, ePlayerResult: PlayerResult
) -> GameSearchErrorCode