Class BlockCatalog
Static catalog of every block type registered in BlockFactory,
with display metadata and parameter hints for the GUI palette and config builder.
Assembly: MOSAIC.dll
Syntax
public static class BlockCatalog
Fields
_none
Declaration
private static readonly ParamHint[] _none
Field Value
Properties
All
Declaration
public static IReadOnlyList<BlockDescriptor> All { get; }
Property Value
ByKey
Declaration
public static IReadOnlyDictionary<string, BlockDescriptor> ByKey { get; }
Property Value
CategoryByClass
Runtime class name → its palette category, for tinting graph nodes by category.
Declaration
public static IReadOnlyDictionary<string, BlockCategory> CategoryByClass { get; }
Property Value
DisplayNameByClass
Runtime class name (e.g. "ClockBlock") → the block's friendly display name,
so AllowableBlocks whitelists can be shown to users in readable form.
Declaration
public static IReadOnlyDictionary<string, string> DisplayNameByClass { get; }
Property Value
Methods
Build()
Declaration
private static BlockDescriptor[] Build()
Returns