![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Migrates task graph JSON from schema v3 (BT-style) to schema v4 (VS-style). More...
#include <string>#include <vector>#include "../third_party/nlohmann/json.hpp"
Include dependency graph for TaskGraphMigrator_v3_to_v4.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Olympe::TaskGraphMigrator_v3_to_v4 |
| Converts task graph JSON from schema v3 to schema v4 (VisualScript). More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Typedefs | |
| using | json = nlohmann::json |
Migrates task graph JSON from schema v3 (BT-style) to schema v4 (VS-style).
Schema v3 uses a flat node list with NextOnSuccess / NextOnFailure integer fields to express control flow (Behavior-Tree-style).
Schema v4 replaces those fields with explicit ExecConnections and DataConnections arrays (Visual-Script-style), adds graphType, and bumps schema_version to 4.
C++14 compliant - no C++17/20 features.
Definition in file TaskGraphMigrator_v3_to_v4.h.
Definition at line 36 of file TaskGraphMigrator_v3_to_v4.h.