noname/node_modules/noname-typings/Card.d.ts

23 lines
491 B
TypeScript
Raw Normal View History

declare type CardBaseUIData = {
name?: string;
suit?: string;
number?: number;
nature?: string;
//用于某些方法,用于过滤卡牌的额外结构
type?: string | string[];
subtype?: string;
color?: string;
/**
*
*
* true,false/undefined
* useCard使用时next.cards,card.cards;
*
*/
isCard?: boolean;
/** 真实使用的卡牌 */
cards?: Card[];
}