Editor/Roof/ArchLadderManifest.cs

Editor manifest for ladder parts in the architecture system. It specifies metadata for the ArchLadderPart type: kind (Ladder), UI slot name, valid host types, label, glyph, subtool category, and its layer stage (Fixture).

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

namespace Sunless.Architecture;

public sealed class ArchLadderManifest : ArchKindManifest<ArchLadderPart>
{
	public override ArchKind Kind => ArchKind.Ladder;

	public override string Slot => "Ladders";

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

	public override string Label => "Ladder";

	public override string Glyph => "arrow_upward";

	public override string Subtool => ArchSubtools.Bool;

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