enowars / EnoEngine

MIT License
12 stars 2 forks source link

Scoreboard API doc (ScoreboardInfo) is wrong #116

Closed Trolldemorted closed 3 years ago

Trolldemorted commented 3 years ago

It says

interface ScoreboardInfo {
    CurrentRound: number | null;
    StartTimestamp: string | null;              // Timestamps according ISO-86-01 ("yyyy-MM-ddTHH:mm:ss.fffZ")
    StartTimeEpoch: number | null;              // Unix time in seconds
    EndTimestamp: string | null;                // Timestamps according ISO-86-01 ("yyyy-MM-ddTHH:mm:ss.fffZ")
    EndTimeEpoch: number | null;                // Unix time in seconds
    Services: Service[];
    Teams: Team[];
}

where Team is the normal team, but the scoreboard info teams actually look like this:

{
    "id": 3,
    "name": "teamname3",
    "logoUrl": null,
    "flagUrl": null,
    "active": false
}

cc @Savallator @ldruschk the "actually looking" team is what the scoreboard wants, right?

DanielHabenicht commented 3 years ago

can be closed @Trolldemorted ?

CtfInfo has been removed