19#include <unordered_map>
21#include "../TaskSystem/TaskGraphTypes.h"
88 std::unordered_map<std::string, ConditionSpec>
m_specs;
ComponentTypeID GetComponentTypeID_Static()
Singleton registry of available condition types.
void Register(const ConditionSpec &spec)
Registers a ConditionSpec.
static ConditionRegistry & Get()
Returns the singleton instance.
std::vector< ConditionSpec > GetAllConditions() const
Returns all registered condition specs, sorted by id.
std::vector< std::string > GetAllConditionIds() const
Returns all registered condition IDs.
const ConditionSpec * GetConditionSpec(const std::string &id) const
Returns the ConditionSpec for the given id, or nullptr if not found.
std::unordered_map< std::string, ConditionSpec > m_specs
void InitializeBuiltInConditions()
< Provides AssetID and INVALID_ASSET_ID
ParameterBindingType
Describes how a parameter value is provided to a task node.
Describes one parameter of a condition (e.g.
std::string name
Parameter name (e.g. "Key", "Operator")
ParameterBindingType bindingType
Expected binding type.
std::string description
Short description.
bool required
Whether the parameter is mandatory.
Full metadata for a single condition type.
std::string description
Short description.
std::vector< ConditionParamSpec > parameters
Expected parameters in order.
std::string id
Condition type ID (e.g. "CompareValue")
std::string displayName
Human-readable name.