Skip to content

SteamWorks.SteamGameSearch

TheAce0296 edited this page Oct 23, 2022 · 6 revisions

Interface: SteamGameSearch

SteamWorksNamespace.SteamGameSearch

Table of contents

Properties

Properties

AcceptGame

AcceptGame: () => EGameSearchErrorCode_t

Type declaration

▸ (): EGameSearchErrorCode_t

Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2356


AddGameSearchParams

AddGameSearchParams: (pchKeyToFind: string, pchValuesToFind: string) => EGameSearchErrorCode_t

Type declaration

▸ (pchKeyToFind, pchValuesToFind): EGameSearchErrorCode_t

Parameters
Name Type
pchKeyToFind string
pchValuesToFind string
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2353


CancelRequestPlayersForGame

CancelRequestPlayersForGame: () => EGameSearchErrorCode_t

Type declaration

▸ (): EGameSearchErrorCode_t

Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2364


DeclineGame

DeclineGame: () => EGameSearchErrorCode_t

Type declaration

▸ (): EGameSearchErrorCode_t

Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2357


EndGame

EndGame: (ullUniqueGameID: bigint) => EGameSearchErrorCode_t

Type declaration

▸ (ullUniqueGameID): EGameSearchErrorCode_t

Parameters
Name Type
ullUniqueGameID bigint
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2366


EndGameSearch

EndGameSearch: () => EGameSearchErrorCode_t

Type declaration

▸ (): EGameSearchErrorCode_t

Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2359


HostConfirmGameStart

HostConfirmGameStart: (ullUniqueGameID: bigint) => EGameSearchErrorCode_t

Type declaration

▸ (ullUniqueGameID): EGameSearchErrorCode_t

Parameters
Name Type
ullUniqueGameID bigint
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2363


RequestPlayersForGame

RequestPlayersForGame: (nPlayerMin: number, nPlayerMax: number, nMaxTeamSize: number) => EGameSearchErrorCode_t

Type declaration

▸ (nPlayerMin, nPlayerMax, nMaxTeamSize): EGameSearchErrorCode_t

Parameters
Name Type
nPlayerMin number
nPlayerMax number
nMaxTeamSize number
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2362


RetrieveConnectionDetails

RetrieveConnectionDetails: (steamIDHost: CSteamID, pchConnectionDetails: string, cubConnectionDetails: number) => EGameSearchErrorCode_t

Type declaration

▸ (steamIDHost, pchConnectionDetails, cubConnectionDetails): EGameSearchErrorCode_t

Parameters
Name Type
steamIDHost CSteamID
pchConnectionDetails string
cubConnectionDetails number
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2358


SearchForGameSolo

SearchForGameSolo: (nPlayerMin: number, nPlayerMax: number) => EGameSearchErrorCode_t

Type declaration

▸ (nPlayerMin, nPlayerMax): EGameSearchErrorCode_t

Parameters
Name Type
nPlayerMin number
nPlayerMax number
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2355


SearchForGameWithLobby

SearchForGameWithLobby: (steamIDLobby: CSteamID, nPlayerMin: number, nPlayerMax: number) => EGameSearchErrorCode_t

Type declaration

▸ (steamIDLobby, nPlayerMin, nPlayerMax): EGameSearchErrorCode_t

Parameters
Name Type
steamIDLobby CSteamID
nPlayerMin number
nPlayerMax number
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2354


SetConnectionDetails

SetConnectionDetails: (pchConnectionDetails: string, cubConnectionDetails: number) => EGameSearchErrorCode_t

Type declaration

▸ (pchConnectionDetails, cubConnectionDetails): EGameSearchErrorCode_t

Parameters
Name Type
pchConnectionDetails string
cubConnectionDetails number
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2361


SetGameHostParams

SetGameHostParams: (pchKey: string, pchValue: string) => EGameSearchErrorCode_t

Type declaration

▸ (pchKey, pchValue): EGameSearchErrorCode_t

Parameters
Name Type
pchKey string
pchValue string
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2360


SubmitPlayerResult

SubmitPlayerResult: (ullUniqueGameID: bigint, steamIDPlayer: CSteamID, EPlayerResult: EPlayerResult_t) => EGameSearchErrorCode_t

Type declaration

▸ (ullUniqueGameID, steamIDPlayer, EPlayerResult): EGameSearchErrorCode_t

Parameters
Name Type
ullUniqueGameID bigint
steamIDPlayer CSteamID
EPlayerResult EPlayerResult_t
Returns

EGameSearchErrorCode_t

Defined in

index.d.ts:2365

Steamworks - v1.2.0

Namespaces

Clone this wiki locally