Skip to content

Inspection beta ​

Interface of @v12-engine/engine

ts
export interface Inspection

Something as the simulation has it, for the inspector

Members ​

about ​

ts
about: string;

What else says what it is: type and owner, team

ai ​

ts
ai?: AiReport;

What the computer that plays a player is thinking, where a brain does (Brain.report, with the seat's timing): what the debug panel's AI tab draws. A computer player of another kind is a section (Computer player)

alive ​

ts
alive: boolean;

Whether the inspected entity or player is still there; false once it has been removed or defeated

at ​

ts
at?: Vec2;

Where it is, for an entity

flags ​

ts
flags: string[];

What is so of it that is not a number: hidden, asleep, scenery

sections ​

ts
sections: InspectedSection[];

The parts of it the inspector lists, in order

target ​

ts
target: InspectTarget;

What is inspected: an entity by id, a player by id, or the world itself

tick ​

ts
tick: number;

The tick of the simulation the inspection was taken at

title ​

ts
title: string;

What it is called: Footman #14, a player's name, World