daily update on 20241002 by nitload youmu, intrinsic function rebuild, syntax style arrange
This commit is contained in:
@@ -34,8 +34,7 @@ using System.Text;
|
||||
|
||||
namespace StgSharp.BluePrint
|
||||
{
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
[AttributeUsage( AttributeTargets.Method )]
|
||||
public sealed class BpNodeActionAttribute : Attribute
|
||||
{
|
||||
|
||||
@@ -43,21 +42,24 @@ namespace StgSharp.BluePrint
|
||||
private string[] _output;
|
||||
private int _operationSpan;
|
||||
|
||||
public BpNodeActionAttribute(int operationSpan)
|
||||
public BpNodeActionAttribute( int operationSpan )
|
||||
{
|
||||
_input = Array.Empty<string>();
|
||||
_output = Array.Empty<string>();
|
||||
_operationSpan = operationSpan;
|
||||
}
|
||||
|
||||
public BpNodeActionAttribute(string[] inputPort, string[] outputPort)
|
||||
public BpNodeActionAttribute( string[] inputPort, string[] outputPort )
|
||||
{
|
||||
_input = inputPort;
|
||||
_output = outputPort;
|
||||
this._operationSpan = 1;
|
||||
}
|
||||
|
||||
public BpNodeActionAttribute(string[] inputPort, string[] outputPort, int operationSpan)
|
||||
public BpNodeActionAttribute(
|
||||
string[] inputPort,
|
||||
string[] outputPort,
|
||||
int operationSpan )
|
||||
{
|
||||
_input = inputPort;
|
||||
_output = outputPort;
|
||||
@@ -65,7 +67,9 @@ namespace StgSharp.BluePrint
|
||||
}
|
||||
|
||||
public string[] InputPort => _input;
|
||||
|
||||
public string[] OutputPort => _output;
|
||||
|
||||
public int OperationSpan => _operationSpan;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user