Type Alias InitResult

InitResult: {
    gameId: string;
    locale: string;
    signedIn: boolean;
}

Snapshot of the session state delivered to the game once the SDK <-> portal handshake completes (see "@pixlland/sdk".PixllandSDK.init | PixllandSDK.init).

Type declaration

  • gameId: string

    The resolved game ID this session is bound to.

  • locale: string

    Locale chosen for this player (e.g. "pt-BR", "en").

  • signedIn: boolean

    Whether this session has an authenticated account.