Editor/Walkway/ArchWalkwayConnectionResult.cs

Simple data container used by the editor walkway system. It holds the host ArchBuilding and read-only lists of opened ArchRoom objects and walkway endpoints produced by a connection operation.

using System;
using System.Collections.Generic;
using System.Linq;
using Sandbox;

namespace Sunless.Architecture;


sealed class ArchWalkwayConnectionResult
{
	public ArchBuilding Host { get; init; }
	public IReadOnlyList<ArchRoom> Opened { get; init; }
	public IReadOnlyList<ArchWalkwayEndpoint> Endpoints { get; init; }
}