@my-swu/simulator-client / ResourceCardView
Interface: ResourceCardView
Defined in: packages/ts-sdk/src/generated/types/common.ts:5331
Example:
ts
import type { ResourceCardView } from '@my-swu/simulator-client'
const resourceCardView: ResourceCardView = {
"cardInstanceId": 0,
"cardId": 0,
"exhausted": false,
}
console.log(resourceCardView)Properties
cardId
Example:
ts
import type { ResourceCardView } from '@my-swu/simulator-client'
const resourceCardView: ResourceCardView = {
"cardInstanceId": 0,
"cardId": 0,
"exhausted": false,
}
const { cardId } = resourceCardView
console.log(cardId)cardId:
number
Defined in: packages/ts-sdk/src/generated/types/common.ts:5332
cardInstanceId
Example:
ts
import type { ResourceCardView } from '@my-swu/simulator-client'
const resourceCardView: ResourceCardView = {
"cardInstanceId": 0,
"cardId": 0,
"exhausted": false,
}
const { cardInstanceId } = resourceCardView
console.log(cardInstanceId)cardInstanceId:
number
Defined in: packages/ts-sdk/src/generated/types/common.ts:5333
exhausted
Example:
ts
import type { ResourceCardView } from '@my-swu/simulator-client'
const resourceCardView: ResourceCardView = {
"cardInstanceId": 0,
"cardId": 0,
"exhausted": false,
}
const { exhausted } = resourceCardView
console.log(exhausted)exhausted:
boolean
Defined in: packages/ts-sdk/src/generated/types/common.ts:5334
