mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-31 04:04:57 -06:00
24 lines
590 B
C#
24 lines
590 B
C#
namespace FileFlows.BasicNodes.Functions
|
|
{
|
|
using FileFlows.Plugin;
|
|
using FileFlows.Plugin.Attributes;
|
|
|
|
public class GotoFlow : Node
|
|
{
|
|
public override int Inputs => 1;
|
|
public override int Outputs => 0;
|
|
|
|
public override FlowElementType Type => FlowElementType.Logic;
|
|
public override string Icon => "fas fa-sitemap";
|
|
|
|
[Select("FLOW_LIST", 1)]
|
|
public ObjectReference Flow { get; set; }
|
|
|
|
|
|
public override int Execute(NodeParameters args)
|
|
{
|
|
args.GotoFlow(Flow);
|
|
return 0;
|
|
}
|
|
}
|
|
} |