Skip to content

EventLogEntry

Defined in: Inspector.ts:260

frame: number

Defined in: Inspector.ts:261


payload: unknown

Defined in: Inspector.ts:274

The emitted payload, cloned down to plain data. Class instances are stored as a ref rather than a deep copy — an Entity as { id, name }, a Component as { component: "Health" }, a Scene as { name }, a Vec2 as { x, y }, anything else as { _type: "ClassName" } — so a payload carrying a live engine object logs what the event is about instead of the object graph reachable from it. Read a component’s fields from the entity snapshot, not from the log.


source: "entity" | "bus"

Defined in: Inspector.ts:262


optional targetId?: string

Defined in: Inspector.ts:264


type: string

Defined in: Inspector.ts:263