update to node site

This commit is contained in:
2026-04-15 05:02:45 +10:00
parent 3c45406f6f
commit 7e7e6f2c22
710 changed files with 10532 additions and 8324 deletions

View File

@@ -0,0 +1,36 @@
/**
* @file SequenceNode.js
* @UCLASS(BlueprintType, Blueprintable)
*/
import { NodeBase } from './NodeBase.js';
import { NodeRegistry } from './NodeRegistry.js';
/**
* @UCLASS(BlueprintType)
* Fires all then_N outputs in order, then continues exec flow.
*/
export class SequenceNode extends NodeBase {
/** @UCLASS(BlueprintType) */
static NodeType = "sequence";
/**
* @UFUNCTION(BlueprintCallable)
* @param {import('./NodeExecutionContext.js').NodeExecutionContext} ctx
*/
async BlueprintCallable_Execute(ctx) {
const node = ctx.BlueprintPure_GetNode();
if (!node) return;
// Fire every then_N output in order
const thenPins = node.outputs
.filter(p => p.id.startsWith("then_"))
.sort((a, b) => a.id.localeCompare(b.id));
for (const pin of thenPins) {
await ctx.BlueprintCallable_RunExecPin(pin.id);
}
}
}
NodeRegistry.UCLASS_Register(SequenceNode);