Editor/Internal/NodeEditorPlus/Blackboard/BlackboardParameter.cs

Interface and small record used by the editor blackboard. Defines a BlackboardConfig record struct and the IBlackboardParameter interface that exposes Identifier, DisplayInfo, validity, name, value get/set, and conversion to a graph node.

namespace NodeEditorPlus.Blackboard;

public record struct BlackboardConfig( string Name, Color Color );

public interface IBlackboardParameter
{
	Guid Identifier { get; }

	DisplayInfo DisplayInfo { get; }

	public bool IsValid { get; }

	string Name { get; set; }

	public object GetValue();

	public void SetValue( object value );

	public IGraphNode ToNode();
}