8 private int maxOutputLength;
9 [
Editable,
Serialize(200,
IsPropertySaveable.No, description:
"The maximum length of the output strings. Warning: Large values can lead to large memory usage or networking issues.")]
12 get {
return maxOutputLength; }
15 maxOutputLength = Math.Max(value, 0);
19 private string output;
23 get {
return output; }
26 if (value ==
null) {
return; }
35 private string falseOutput;
39 get {
return falseOutput; }
42 if (value ==
null) {
return; }
61 switch (connection.
Name)
65 if (
string.IsNullOrEmpty(signalOut)) {
return; }
66 signal.
value = signalOut;
72 case "set_targetsignal":
void SendSignal(string signal, string connectionName)
The base class for components holding the different functionalities of the item
override void ReceiveSignal(Signal signal, Connection connection)
SignalCheckComponent(Item item, ContentXElement element)