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

23 lines
498 B
TypeScript
Raw Normal View History

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