> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# EditorBridgeEvent

> Engine → editor events, on RunOptions.editor.toEditor.

Defined in: [modules/editor/src/protocol.ts:47](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/editor/src/protocol.ts#L47)

Engine → editor events, on `RunOptions.editor.toEditor`.

## Enumeration Members

### FrameStats

> **FrameStats**: `"frame-stats"`

Defined in: [modules/editor/src/protocol.ts:53](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/editor/src/protocol.ts#L53)

Sampled tick timings, when requested. Payload: [EditorFrameStats](https://docs.nanoforge.eu/references/engine/3.0.0/editor-lib/interfaces/EditorFrameStats.md).

***

### Hello

> **Hello**: `"hello"`

Defined in: [modules/editor/src/protocol.ts:49](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/editor/src/protocol.ts#L49)

Emitted once the app is initialized. Payload: [EditorHello](https://docs.nanoforge.eu/references/engine/3.0.0/editor-lib/interfaces/EditorHello.md).

***

### Log

> **Log**: `"log"`

Defined in: [modules/editor/src/protocol.ts:55](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/editor/src/protocol.ts#L55)

Console output of the game, when requested. Payload: [EditorLog](https://docs.nanoforge.eu/references/engine/3.0.0/editor-lib/interfaces/EditorLog.md).

***

### NetworkStats

> **NetworkStats**: `"network-stats"`

Defined in: [modules/editor/src/protocol.ts:59](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/editor/src/protocol.ts#L59)

Network totals per second, when traces are requested. Payload: [EditorNetworkStats](https://docs.nanoforge.eu/references/engine/3.0.0/editor-lib/interfaces/EditorNetworkStats.md).

***

### NetworkTrace

> **NetworkTrace**: `"network-trace"`

Defined in: [modules/editor/src/protocol.ts:57](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/editor/src/protocol.ts#L57)

Network packets, when requested (network library). Payload: [EditorNetworkTrace](https://docs.nanoforge.eu/references/engine/3.0.0/editor-lib/interfaces/EditorNetworkTrace.md).

***

### State

> **State**: `"state"`

Defined in: [modules/editor/src/protocol.ts:51](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/editor/src/protocol.ts#L51)

Emitted on every run state change. Payload: [EditorRunState](https://docs.nanoforge.eu/references/engine/3.0.0/editor-lib/type-aliases/EditorRunState.md).

***

### Viewport

> **Viewport**: `"viewport"`

Defined in: [modules/editor/src/protocol.ts:61](https://github.com/NanoForge-dev/Engine/blob/ed8c7e0b33d17f8343c32659cf63ba4166a4fa53/modules/editor/src/protocol.ts#L61)

The game's viewport, when requested (clients). Payload: [EditorViewport](https://docs.nanoforge.eu/references/engine/3.0.0/editor-lib/type-aliases/EditorViewport.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.