16#include <unordered_map>
ComponentTypeID GetComponentTypeID_Static()
ImGui sub-panel for editing action node parameters.
std::vector< ActionParameter > m_parameters
void SetNodeName(const std::string &name)
Set the node name for display purposes.
ActionParametersPanel & operator=(const ActionParametersPanel &)=delete
ActionParametersPanel(const ActionParametersPanel &)=delete
void RenderTitleSection()
void RenderParameter(ActionParameter ¶m)
void SetParameters(const std::unordered_map< std::string, std::string > ¶ms)
Set the parameters from a map of name->value pairs.
std::string GetParameterValue(const std::string ¶mName) const
Get a specific parameter value by name.
const std::vector< ActionParameter > & GetParameters() const
Get all parameters with their current values.
void SetActionTaskID(const std::string &taskID)
Set the action task ID (e.g., "log_message", "patrol_path")
bool IsDirty() const
Check if any parameter has been modified.
~ActionParametersPanel()=default
void ClearDirty()
Clear the dirty flag after changes have been applied.
void RenderParametersSection()
< Provides AssetID and INVALID_ASSET_ID
Represents a single parameter of an action task.
bool isDirty
True if value has been modified.
std::string name
Parameter name (e.g., "message", "speed")
std::string value
Current value.
std::string defaultValue
Default value.
std::string type
Parameter type (String, Float, Int, Bool, etc.)