Editor manifest class for the Downpipe architectural part. It maps the ArchDownpipePart type to editor metadata like kind, UI slot, allowed hosts, label, icon glyph, subtool, sort rank, and layer stage.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Sunless.Architecture;
public sealed class ArchDownpipeManifest : ArchKindManifest<ArchDownpipePart>
{
public override ArchKind Kind => ArchKind.Downpipe;
public override string Slot => "Downpipes";
public override IEnumerable<Type> Hosts => new[] { typeof( ArchBuilding ) };
public override string Label => "Downpipe";
public override string Glyph => ArchIcons.Get( "subtool_downpipe", "plumbing" );
// A rainwater stack and a services corridor are two gestures of one shelf entry.
public override string Subtool => ArchSubtools.Pipe;
public override int IndirectRank => 104;
public override ArchLayerStage Stage( object payload ) => ArchLayerStage.Fixture;
}