@my-swu/simulator-client / CurrentAttackView
Interface: CurrentAttackView
Defined in: packages/ts-sdk/src/generated/types/common.ts:1069
Example:
ts
import type { CurrentAttackView } from '@my-swu/simulator-client'
const currentAttackView: CurrentAttackView = {
"attackerId": 0,
"target": {
"playerBase": {
"seat": "one",
},
},
}
console.log(currentAttackView)Properties
attackerId
Example:
ts
import type { CurrentAttackView } from '@my-swu/simulator-client'
const currentAttackView: CurrentAttackView = {
"attackerId": 0,
"target": {
"playerBase": {
"seat": "one",
},
},
}
const { attackerId } = currentAttackView
console.log(attackerId)attackerId:
number
Defined in: packages/ts-sdk/src/generated/types/common.ts:1070
target
Example:
ts
import type { CurrentAttackView } from '@my-swu/simulator-client'
const currentAttackView: CurrentAttackView = {
"attackerId": 0,
"target": {
"playerBase": {
"seat": "one",
},
},
}
const { target } = currentAttackView
console.log(target)target:
AttackTarget
Defined in: packages/ts-sdk/src/generated/types/common.ts:1071
