Editor/Services/ArchRoomConnection.cs

Small immutable data holder used in the Editor namespace. It represents a connection between architecture rooms and buildings, exposing read-only lists of opened rooms and owner buildings plus a Host building reference.

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

namespace Sunless.Architecture;

public sealed class ArchRoomConnection
{
	public IReadOnlyList<ArchRoom> Opened { get; init; } = Array.Empty<ArchRoom>();
	public IReadOnlyList<ArchBuilding> Owners { get; init; } = Array.Empty<ArchBuilding>();
	public ArchBuilding Host { get; init; }
}