Skip to content

Port Operations

Hippolippo edited this page Oct 17, 2022 · 1 revision

GetProperty(string)

Namespace: PlasmaModding

Class: CustomAgent

protected AgentProperty GetProperty(string name);

Parameters

Required Arguments:

Returns:

  • The AgentProperty corresponding to the name name, call AgentProperty.GetValue() on this object to get the Behavior.Data data from it


WriteOutput(string, Behavior.Data)

Namespace: PlasmaModding

Class: CustomAgent

protected void WriteOutput(string name, Behavior.Data data);

Parameters

Required Arguments:

Result:

  • Writes data to the data of the Output Port with the name or reference name name