Editor/Stair/ArchApproachManifest.cs

Editor manifest for an architecture approach part. It defines metadata for ArchApproachPart such as Kind, Slot, Hosts, Label, Glyph, DirectRank and the layer Stage.

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

namespace Sunless.Architecture;

public sealed class ArchApproachManifest : ArchKindManifest<ArchApproachPart>
{
	public override ArchKind Kind => ArchKind.Approach;

	public override string Slot => "Approaches";

	public override IEnumerable<Type> Hosts => new[] { typeof( ArchRoom ) };

	public override string Label => "Approach";

	public override string Glyph => "ramp_left";

	public override int DirectRank => 11;

	public override ArchLayerStage Stage( object payload ) => ArchLayerStage.Structure;
}