EventLogEntry
Defined in: Inspector.ts:429
Properties
Section titled “Properties”frame:
number
Defined in: Inspector.ts:430
payload
Section titled “payload”payload:
unknown
Defined in: Inspector.ts:447
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
Section titled “source”source:
"scene"|"entity"|"bus"
Defined in: Inspector.ts:435
"bus" for an EventBus emit, "entity" for an entity.emit (with
targetId), "scene" for a scene.emit (no targetId).
targetId?
Section titled “targetId?”
optionaltargetId?:string
Defined in: Inspector.ts:437
type:
string
Defined in: Inspector.ts:436
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.