22#include "../TaskSystem/TaskGraphTypes.h"
23#include "../TaskSystem/TaskGraphTemplate.h"
ComponentTypeID GetComponentTypeID_Static()
Non-singleton registry populated from the active TaskGraphTemplate.
std::vector< VarSpec > GetVariablesByType(VariableType type) const
Returns variables whose type matches type, sorted by name.
std::vector< VarSpec > m_vars
std::vector< VarSpec > GetGlobalVariables() const
Returns only global-scope variables.
void LoadFromTemplate(const TaskGraphTemplate &tmpl)
Rebuilds the registry from the blackboard entries of a template.
BBVariableRegistry()=default
static std::string FormatDisplayLabel(const std::string &name, VariableType type, bool isGlobal)
Formats a display label for a variable.
const std::vector< VarSpec > & GetAllVariables() const
Returns all variables (local and global), sorted by name.
size_t GetCount() const
Returns the number of registered variables.
bool HasVariable(const std::string &name) const
Returns true if a variable with the given name is registered.
std::vector< VarSpec > GetLocalVariables() const
Returns only local-scope variables.
Immutable, shareable task graph asset.
< Provides AssetID and INVALID_ASSET_ID
VariableType
Type tags used by TaskValue to identify stored data.
Metadata for a single blackboard variable entry.
VariableType type
Declared type.
std::string name
Variable key (e.g. "health", "target")
std::string displayLabel
Formatted label, e.g. "health (Float, local)".
bool isGlobal
true = global scope, false = local scope