Interface SettablePlayerValues

All properties that can be set with Player.values.

See PlayerValues for detailed descriptions of properties.

interface SettablePlayerValues {
    active?: boolean;
    matches?: {
        bye: boolean;
        color: "w" | "b";
        draw: number;
        id: string;
        loss: number;
        opponent: string;
        pairUpDown: boolean;
        win: number;
    }[];
    meta?: {
        [key: string]: any;
    };
    name?: string;
    value?: number;
}

Properties

active?: boolean
matches?: {
    bye: boolean;
    color: "w" | "b";
    draw: number;
    id: string;
    loss: number;
    opponent: string;
    pairUpDown: boolean;
    win: number;
}[]

Type declaration

  • bye: boolean
  • color: "w" | "b"
  • draw: number
  • id: string
  • loss: number
  • opponent: string
  • pairUpDown: boolean
  • win: number
meta?: {
    [key: string]: any;
}

Type declaration

  • [key: string]: any
name?: string
value?: number