重新设计了条件节点的Model

This commit is contained in:
fengjiayi
2024-10-28 22:18:48 +08:00
parent 66141533b1
commit e71a089067
6 changed files with 75 additions and 52 deletions

View File

@@ -364,9 +364,9 @@ namespace Serein.NodeFlow.Env
await currentFlowEnvironment.StartAsyncInSelectNode(startNodeGuid);
}
public async Task<object> InvokeNodeAsync( string nodeGuid)
public async Task<object> InvokeNodeAsync(IDynamicContext context, string nodeGuid)
{
return await currentFlowEnvironment.InvokeNodeAsync( nodeGuid);
return await currentFlowEnvironment.InvokeNodeAsync(context, nodeGuid);
}
public async Task StartRemoteServerAsync(int port = 7525)