Adds a link limit and UI to device list (#11017)
* 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
This commit is contained in:
@@ -14,6 +14,13 @@ public sealed class DeviceListComponent : Component
|
||||
[DataField("devices")]
|
||||
public HashSet<EntityUid> Devices = new();
|
||||
|
||||
/// <summary>
|
||||
/// The limit of devices that can be linked to this device list.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("deviceLimit")]
|
||||
public int DeviceLimit = 32;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the device list is used as an allow or deny list
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user