Skip to content

Commit

Permalink
ADR-282: Move section below
Browse files Browse the repository at this point in the history
  • Loading branch information
cazala committed Jan 20, 2025
1 parent 977b4b1 commit cddf8b0
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions content/ADR-282-inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,21 +105,6 @@ Additional functionality includes:

## Data Layer RPC

The Data Layer has two implementations:

1. **Local (In-Memory):**

- Used for development and testing
- Stores all state in memory
- No network communication required
- Fast and suitable for local development

2. **Remote (Protobuf):**
- Used in production environments
- Communicates over network using protobuf messages
- Supports WebSocket transport
- Enables integration with remote services

The Data Layer provides a complete interface for all editor operations, handling both scene state and asset management. It serves as the primary communication channel between the Inspector and its host environment, responsible for:

1. **Scene State Management:**
Expand All @@ -135,7 +120,22 @@ The Data Layer provides a complete interface for all editor operations, handling
- Handles asset metadata and thumbnails
- Controls asset lifecycle (create, rename, delete)

The Data Layer is implemented as a protobuf-defined RPC service to ensure type safety and versioning:
The Data Layer has two implementations:

1. **Local (In-Memory):**

- Used for development and testing
- Stores all state in memory
- No network communication required
- Fast and suitable for local development

2. **Remote (Protobuf):**
- Used in production environments
- Communicates over network using protobuf messages
- Supports WebSocket transport
- Enables integration with remote services

The remote Data Layer is implemented as a protobuf-defined RPC service to ensure type safety and versioning:

```protobuf
service DataService {
Expand Down

0 comments on commit cddf8b0

Please sign in to comment.