namespace NeonSprawl.Server.Game.Interaction; /// Maps GET /game/world/interactables (NEO-25). public static class InteractablesWorldApi { public static WebApplication MapInteractablesWorldApi(this WebApplication app) { app.MapGet( "/game/world/interactables", () => { var rows = PrototypeInteractableRegistry.GetOrderedDescriptors(); return Results.Json( new InteractablesListResponse { SchemaVersion = InteractablesListResponse.CurrentSchemaVersion, Interactables = rows, }); }); return app; } }