Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 796 Bytes

File metadata and controls

22 lines (13 loc) · 796 Bytes

dapi node ls [ids...]

The raw entity records, exactly as persisted: every component the entity carries, keyed by component name. The property-level counterpart to node tree's structure. With no ids, returns the root (top-level nodes). Alias: get.

Input

  • [ids...]: zero or more entity ids (optional)

Output

JSON Lines, one per entity:

EntityRecord = { id: string; eid: number } & { [component: string]: unknown }
// e.g. Name, Size, Position, Rotation, Paint, Color, Trim, ChildOf (parent eid), …

Records are raw engine data: times are frames at 30 fps, colors are packed 0xRRGGBB integers, volume is dB.

Errors

An unknown id fails the whole command: nothing is printed to stdout and it exits non-zero with No such entity: <id> on stderr.