Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / PlayAttachment

Type Alias: PlayAttachment ​

PlayAttachment = number | AbilityTarget

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

Attachment host supplied by a PlayCard command.

A bare id is only the legacy wire form. New callers must use the typed [AbilityTarget] shape, which makes a base host explicit instead of overloading None (the established hostless-play value).

Example:

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

const playAttachment: PlayAttachment = 0

console.log(playAttachment)

Released under the MIT License.