* started work * some more work, ui working (somewhat) * stuff * reorganization * some more reorg * conveyors * conveyors working * finalized (dis)connection added linkattempt added feedback text work on conveyors * removed command add rangecheck * fixed inrange check * handling * ui no longer kanser, ship it * adresses reviews * reformats file * reformats file Co-authored-by: Paul <ritter.paul1+git@googlemail.com>
22 lines
585 B
C#
22 lines
585 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Content.Server.MachineLinking.Models;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Content.Server.MachineLinking.Components
|
|
{
|
|
[RegisterComponent]
|
|
public class SignalReceiverComponent : Component
|
|
{
|
|
public override string Name => "SignalReceiver";
|
|
|
|
[DataField("inputs")]
|
|
private List<SignalPort> _inputs = new();
|
|
|
|
[ViewVariables]
|
|
public IReadOnlyList<SignalPort> Inputs => _inputs;
|
|
}
|
|
}
|