* adds a link limit to device list * locale strings * uhhh what's efcore doing there * adds a UI for device list on the device * merge conflict fixing
26 lines
724 B
C#
26 lines
724 B
C#
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.DeviceNetwork;
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class NetworkConfiguratorUserInterfaceState : BoundUserInterfaceState
|
|
{
|
|
public readonly HashSet<(string address, string name)> DeviceList;
|
|
|
|
public NetworkConfiguratorUserInterfaceState(HashSet<(string, string)> deviceList)
|
|
{
|
|
DeviceList = deviceList;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class DeviceListUserInterfaceState : BoundUserInterfaceState
|
|
{
|
|
public readonly HashSet<(string address, string name)> DeviceList;
|
|
|
|
public DeviceListUserInterfaceState(HashSet<(string address, string name)> deviceList)
|
|
{
|
|
DeviceList = deviceList;
|
|
}
|
|
}
|