Replace usages of customTypeSerializer PrototypeIdListSerializer with something that doesn't take 20 separate words to type out (#37959)
* Replace usages of customTypeSerializer PrototypeIdListSerializer with something that doesn't take 20 separate words to type out * Missed one * Missed another * Fix data field ids
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using Content.Shared.DeviceNetwork;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.SurveillanceCamera;
|
||||
@@ -83,11 +85,11 @@ public sealed class SurveillanceCameraSetupBoundUiState : BoundUserInterfaceStat
|
||||
{
|
||||
public string Name { get; }
|
||||
public uint Network { get; }
|
||||
public List<string> Networks { get; }
|
||||
public List<ProtoId<DeviceFrequencyPrototype>> Networks { get; }
|
||||
public bool NameDisabled { get; }
|
||||
public bool NetworkDisabled { get; }
|
||||
|
||||
public SurveillanceCameraSetupBoundUiState(string name, uint network, List<string> networks, bool nameDisabled, bool networkDisabled)
|
||||
public SurveillanceCameraSetupBoundUiState(string name, uint network, List<ProtoId<DeviceFrequencyPrototype>> networks, bool nameDisabled, bool networkDisabled)
|
||||
{
|
||||
Name = name;
|
||||
Network = network;
|
||||
|
||||
Reference in New Issue
Block a user