TeamReport beta
Interface of @v12-engine/engine/ai
ts
export interface TeamReportTeam play as the report shows it (AiReport.team): the team, its computers, the requests on its board, the plan of an attack together, how many enemy bases the team knows
Members
computers
ts
computers: PlayerId[];The computer players of the team
enemyBases
ts
enemyBases: number;How many enemy bases the team knows
plan
ts
plan?: {
target: [number, number];
in: number;
by: PlayerId;
joined: PlayerId[];
declined: PlayerId[];
};The attack together, with its target, how many seconds off it is, who proposed it, who joined and who declined
requests
ts
requests: {
id: number;
kind: TeamRequest['kind'];
from: PlayerId;
at: [number, number];
strength: number;
by: TeamRequest['by'];
answered: PlayerId[];
left: number;
}[];The requests on the board, each with its number, kind, who asked, where, strength, source, who answered and how long is left
team
ts
team: number;The team's number