@hanabi-live/game
    Preparing search index...

    Interface SuitJson

    An entry in "suits.json". This is similar to Suit, but it only has primitive types. Generated from the server's catalog contract.

    interface SuitJson {
        abbreviation?: string;
        allClueColors?: true;
        allClueRanks?: true;
        clueColors?: readonly string[];
        createVariants?: true;
        displayName?: string;
        fill?: string;
        fillColors?: readonly string[];
        id: string;
        inverted?: true;
        name: string;
        noClueColors?: true;
        noClueRanks?: true;
        oneOfEach?: true;
        pip: string;
        prism?: true;
    }

    Hierarchy

    Index
    abbreviation?: string = ...

    The one letter abbreviation to use when representing this suit as a card note. If not specified, use the abbreviation of the color with the same name, or else the first letter of the suit.

    allClueColors?: true = ...
    allClueRanks?: true = ...
    clueColors?: readonly string[] = ...

    The colors that touch this suit. When omitted, the color with the suit's name does.

    createVariants?: true = ...

    Whether or not to create variant combinations based on this suit.

    displayName?: string = ...

    A simplified version of the suit name to show to end-users. If not specified, use the normal suit name.

    fill?: string = ...

    The background color of cards of the suit. A suit with fillColors has none.

    fillColors?: readonly string[] = ...

    The colors of a gradient background, used instead of fill.

    id: string = ...

    A short code that names the suit, in lowercase letters, such as r for Red or tomato for Tomato. A dark suit adds .dark to the ID of its light suit, such as ra.dark for Dark Rainbow. Recipes name suits by these IDs, so an ID never changes.

    inverted?: true = ...
    name: string = ...
    noClueColors?: true = ...
    noClueRanks?: true = ...
    oneOfEach?: true = ...
    pip: string = ...

    The symbol that represents this suit: a pip name, "auto", or "none".

    prism?: true = ...