Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / MatchSeat

Type Alias: MatchSeat ​

MatchSeat = Seat

Defined in: packages/ts-sdk/src/match-session/session-state.ts:40

Seat identifier exposed by live match session state.

Values identify the player seat controlled by this session, not an auth credential.

Example:

ts
import type { MatchSeat } from '@my-swu/simulator-client'

const matchSeat: MatchSeat = 'one'

console.log(matchSeat)

Example ​

ts
import type { MatchSeat } from '@my-swu/simulator-client'

const activeSeat: MatchSeat = 'one'
console.log(activeSeat)

See ​

https://simulator-sdk.my-swu.com/guide/match-session

Released under the MIT License.