Commit 288d1af
committed
Fixed web client GMCP handling for new modular structure
Added:
- Field mapping from new GMCP structure to expected flat format for
Room data
- Room.Info.Basic fields (id, coordinates, area) mapped to Info level
- Room.Info.Exits converted to exitsv2 format with dx/dy/dz delta
fields
- Comments explaining why mapping is necessary for Room handler
compatibility
Changed:
- Room.Info.Basic and Room.Info.Exits handlers to create flat data
structure
- Room handler triggers to check for mapped fields instead of nested
objects
- Vitals handler to use new field names directly (health,
spell_points)
- WebSocket connection to detect https protocol for wss://1 parent ce60917 commit 288d1af
1 file changed
+1336
-1144
lines changed
0 commit comments