25#include "../../third_party/nlohmann/json.hpp"
ComponentTypeID GetComponentTypeID_Static()
< Provides AssetID and INVALID_ASSET_ID
OperandPosition
Identifies which operand side a DynamicDataPin serves.
@ Right
Pin provides data for the right operand of the condition.
@ Left
Pin provides data for the left operand of the condition.
A data-input pin created dynamically for a Pin-mode operand.
static DynamicDataPin FromJson(const nlohmann::json &data)
Deserializes a DynamicDataPin from a JSON object.
int sequenceNumber
1-based sequence index across all pins on the node (for "Pin-in #N" label)
int conditionIndex
Index in node.conditions (0-based)
nlohmann::json ToJson() const
Serializes this pin to a JSON object.
OperandPosition position
Left or Right operand side.
std::string GetDisplayLabel() const
Returns the full display label shown on the node.
static std::string GenerateUniqueID()
Generates a globally unique identifier string (UUID v4-style).
float dataValue
Runtime float value received from connected node.
std::string GetShortLabel() const
Returns the short label for use as a pin connector slot.
std::string id
Global unique UUID (e.g. "pin_inst_abc123")
std::string nodePinID
ImGui/ImNodes pin ID (assigned at render time)
std::string label
Display label (set at construction)
DynamicDataPin()
Default constructor — zero-initialised.