2022-06-10 03:28:24 +02:00
|
|
|
|
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;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2022-09-05 18:22:39 -07:00
|
|
|
|
|
|
|
|
|
|
[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;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|