Skip to content

five-on-it / apps/client/electron/steam / SteamOptions

Interface: SteamOptions ​

Defined in: apps/client/electron/steam.ts:76

What starting Steam needs.

Properties ​

appId ​

appId: number | undefined

Defined in: apps/client/electron/steam.ts:78

The game's Steam app id, none for a build without Steam.


fakeTicket? ​

optional fakeTicket?: string

Defined in: apps/client/electron/steam.ts:82

The tests' fake ticket (FOI_STEAM_FAKE_TICKET), taken only by an unpackaged app.


load? ​

optional load?: () => Promise<Steamworks>

Defined in: apps/client/electron/steam.ts:84

Loads steamworks.js (the default imports it).

Returns ​

Promise<Steamworks>


log? ​

optional log?: (message) => void

Defined in: apps/client/electron/steam.ts:86

Where to say what happened.

Parameters ​

message ​

string

Returns ​

void


packaged ​

packaged: boolean

Defined in: apps/client/electron/steam.ts:80

Whether the app runs packaged (an installed build): only then may Steam start it again.