Skip to content

five-on-it / apps/client/electron/bridge / FoiBridge

Interface: FoiBridge ​

Defined in: apps/client/electron/bridge.ts:79

What the preload exposes as window.foi.

Properties ​

electron ​

electron: string

Defined in: apps/client/electron/bridge.ts:81

The Electron version, shown in the HUD.


local ​

local: LocalHost

Defined in: apps/client/electron/bridge.ts:83

The local game server.


steam ​

steam: SteamBridge

Defined in: apps/client/electron/bridge.ts:87

Steam: the ticket, and its sign-in page in a window.

Methods ​

shareConsent() ​

shareConsent(consent): void

Defined in: apps/client/electron/bridge.ts:85

Tells the main process the player's answer about crash reports (again whenever it changes).

Parameters ​

CrashConsent

Returns ​

void