Members and overloads 18 declared here On this results page Logic(string, object) Logic(string, object, dynamic[]) AddInput(T, string) AddInputs(dynamic[]) AddOutput(ILogicProvider, T, string) AddOutputs(ILogicProvider, dynamic[]) GetInput(int) GetInput(string) GetOutput(int) GetOutput(string) TryGetInput(int, T) TryGetInput(string, T) TryGetOutput(int, T) TryGetOutput(string, T) Id Inputs Outputs Sender
Copy
public Logic.Logic(string id, object sender = null)
Creates a new Logic instance using the supplied arguments.
Parameters
idParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies id.
senderParameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies sender. Optional; the default is shown in the signature.
Copy
public Logic.Logic(string id, object sender, params dynamic[] input)
Creates a new Logic instance using the supplied arguments.
Parameters
idParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies id.
senderParameter type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies sender.
inputParameter type: dynamic[]No current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies input.
Copy
public void Logic.AddInput<T>(T input, string name)
Adds input using the supplied arguments.
Return type: voidNo return value.
Parameters
inputParameter type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies input.
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name.
Copy
public void Logic.AddInputs(params dynamic[] input)
Adds inputs using the supplied arguments.
Return type: voidNo return value.
Parameters
inputParameter type: dynamic[]No current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies input.
Copy
public void Logic.AddOutput<T>(ILogicProvider handler, T output, string name = "")
Adds output using the supplied arguments.
Return type: voidNo return value.
Parameters
handlerParameter type: ILogicProviderSpecifies handler.
outputParameter type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies output.
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name. Optional; the default is shown in the signature.
Copy
public void Logic.AddOutputs(ILogicProvider handler, params dynamic[] output)
Adds outputs using the supplied arguments.
Return type: voidNo return value.
Parameters
handlerParameter type: ILogicProviderSpecifies handler.
outputParameter type: dynamic[]No current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies output.
Copy
public T Logic.GetInput<T>(int index = 0)
Calls GetInput on Logic with index and returns T. Open the return contract below before using the result.
Return type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
indexParameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies index. Optional; the default is shown in the signature.
Returns: The T result.
Copy
public T Logic.GetInput<T>(string name)
Calls GetInput on Logic with name and returns T. Open the return contract below before using the result.
Return type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name.
Returns: The T result.
Copy
public T Logic.GetOutput<T>(int index = 0)
Calls GetOutput on Logic with index and returns T. Open the return contract below before using the result.
Return type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
indexParameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies index. Optional; the default is shown in the signature.
Returns: The T result.
Copy
public T Logic.GetOutput<T>(string name)
Calls GetOutput on Logic with name and returns T. Open the return contract below before using the result.
Return type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name.
Returns: The T result.
Copy
public bool Logic.TryGetInput<T>(int index, out T input)
Calls TryGetInput on Logic with index, input and returns bool. Open the return contract below before using the result.
Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
indexParameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies index.
inputParameter type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Receives input.
Returns: True when the request succeeds; read any out parameters only after checking the result.
Copy
public bool Logic.TryGetInput<T>(string name, out T input)
Calls TryGetInput on Logic with name, input and returns bool. Open the return contract below before using the result.
Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name.
inputParameter type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Receives input.
Returns: True when the request succeeds; read any out parameters only after checking the result.
Copy
public bool Logic.TryGetOutput<T>(int index, out T input)
Calls TryGetOutput on Logic with index, input and returns bool. Open the return contract below before using the result.
Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
indexParameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies index.
inputParameter type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Receives input.
Returns: True when the request succeeds; read any out parameters only after checking the result.
Copy
public bool Logic.TryGetOutput<T>(string name, out T output)
Calls TryGetOutput on Logic with name, output and returns bool. Open the return contract below before using the result.
Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name.
outputParameter type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Receives output.
Returns: True when the request succeeds; read any out parameters only after checking the result.
Copy
public string Logic.Id { get; }
Reads id on Logic as string. The exact type and accessors are shown below.
Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public IReadOnlyList<Tuple<object, string>> Logic.Inputs { get; }
Gets the inputs collection. Its element types are linked below.
Value type: IReadOnlyList<Tuple<object, string>>No current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public IReadOnlyList<Tuple<ILogicProvider, object, string>> Logic.Outputs { get; }
Gets the outputs collection. Its element types are linked below.
Value type: IReadOnlyList<Tuple<ILogicProvider, object, string>>
Copy
public object Logic.Sender { get; }
Reads sender on Logic as object. The exact type and accessors are shown below.
Value type: objectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.