Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / AttackTarget

Type Alias: AttackTarget ​

AttackTarget = { playerBase: { seat: Seat; }; } | { unit: { unitId: number; }; }

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

Example:

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

const attackTarget: AttackTarget = {
  "playerBase": {
    "seat": "one",
  },
}

console.log(attackTarget)

Released under the MIT License.