20 lines
534 B
C#
20 lines
534 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 sealed class SignalReceiverComponent : Component
|
|
{
|
|
[DataField("inputs")]
|
|
private List<SignalPort> _inputs = new();
|
|
|
|
[ViewVariables]
|
|
public IReadOnlyList<SignalPort> Inputs => _inputs;
|
|
}
|
|
}
|