This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-igaming / LaunchGameInput

LaunchGameInput ​

Input of CasinoApi.launchGame.

Properties ​

gameId ​

gameId: string

Game id (Game.id).


isMobile? ​

optional isMobile?: boolean

Opens the mobile version of the game, when the provider has one. Default: false.


language? ​

optional language?: string

Game language (e.g. pt-BR). When omitted, the gateway uses the request's Accept-Language, which the SDK fills in with the client's locale (see enginex.setLocale).


mode? ​

optional mode?: "real" | "demo"

real (default) bets with the player's balance; demo opens demo mode, if the game supports it (Game.demoAvailable).


returnUrl? ​

optional returnUrl?: string

Absolute URL (http/https) the game returns to on exit (the app's lobby). When omitted, the gateway uses the request's Origin (or Referer) — the browser always sends it; on server calls (SSR/Node) pass it explicitly.