Undo

Fields

In addition to the basic packet fields undo packets have the following additional fields:

Field Name

JSON type

Description

game

int

The game in which the point was scored

scores

array (scores)

An array of the game scores up until this point

matchScore

array (match score)

An array of the current match score after correction

undoneEventSeqNums

array (number)

An array of the seqNums of packets undone by this correction

{
    "eventElementType": "Undo",
    "id": 0,
    "seqNum": 27,
    "matchScore": {
        "pointsA": 0,
        "pointsB": 0
    },
    "scores": [
        {
            "pointsA": 0,
            "pointsB": 11
        },
        {
            "pointsA": 5,
            "pointsB": 4
        },
        {
            "pointsA": 0,
            "pointsB": 0
        },
        {
            "pointsA": 0,
            "pointsB": 0
        },
        {
            "pointsA": 0,
            "pointsB": 0
        }
    ],
    "game": 2,
    "timestamp": "1970-01-01T00:00:00.000Z",
     "undoneEventSeqNums": [
    26
    ]
}

Last updated