Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / PlaygroundDamageTarget

Type Alias: PlaygroundDamageTarget ​

PlaygroundDamageTarget = { seat: Seat; type: "base"; } | { type: "unit"; unit_id: number; }

Defined in: packages/ts-sdk/src/generated/types/common.ts:4977

One board target whose damage counter Playground may set exactly.

Example:

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

const playgroundDamageTarget: PlaygroundDamageTarget = {
  "type": "base",
  "seat": "one",
}

console.log(playgroundDamageTarget)

Released under the MIT License.