WavesReport beta
Interface of @v12-engine/engine/ai
ts
export interface WavesReportThe waves as the report shows them (AiReport.waves): the wave whose turn it is, its group as it stands, when it may go; the waves sent
Members
current
ts
current?: {
units: Record<string, [free: number, wanted: number]>;
in: number;
ready: boolean;
status: string;
};The wave whose turn it is: its units as free and wanted by type, seconds until it may go, whether it is ready and a status in words
index
ts
index: number;The index of the wave whose turn it is
sent
ts
sent: {
index: number;
squad: string;
size: number;
at: [number, number];
tick: number;
}[];The waves sent, each with its index, squad, size, target and tick
skipped
ts
skipped: number;How many waves were skipped for a failing condition