using System.Collections.Generic;
using Newtonsoft.Json;
using Unity.Pipeline.Models;
namespace Unity.Pipeline.Editor.Commands.GameObjects
{
///
/// Structured result for find_gameobjects. WHY a dedicated envelope rather than a bare
/// array: it carries the match alongside the list so an agent can branch on
/// "found / not found / ambiguous" without inspecting array length, and leaves room to add query
/// metadata later without breaking the shape. Each entry is the same canonical
/// identity returned by the single-object commands, so a result can
/// be fed straight back as an in a follow-up call.
///
public sealed class FindGameObjectsResult
{
/// Number of GameObjects that matched the query.
[JsonProperty("count")]
public int Count { get; set; }
/// Canonical identities of the matching GameObjects.
[JsonProperty("gameObjects")]
public List GameObjects { get; set; } = new List();
}
}