using System.Collections.Generic;
using Newtonsoft.Json;
using Unity.Pipeline.Models;
namespace Unity.Pipeline.Editor.Commands.GameObjects
{
///
/// Structured result for the batch create_gameobjects command (CLI-223). WHY a dedicated
/// envelope rather than a bare array: it carries the created alongside the
/// list so an agent can confirm the whole batch landed in one round-trip without inspecting array
/// length, and mirrors so the GameObject command surface stays
/// consistent. Each entry is the same canonical identity returned by
/// the single-object create_gameobject, so any created object can be fed straight back as an
/// in a follow-up call.
///
public sealed class CreateGameObjectsResult
{
/// Number of GameObjects created in the batch.
[JsonProperty("count")]
public int Count { get; set; }
/// Canonical identities of the created GameObjects, in creation order.
[JsonProperty("gameObjects")]
public List GameObjects { get; set; } = new List();
}
}