Removes hacky behavior from DeviceListSystem (#11255)
This commit is contained in:
@@ -17,6 +17,7 @@ public abstract class SharedDeviceListSystem : EntitySystem
|
||||
/// <param name="uid">The entity to update.</param>
|
||||
/// <param name="devices">The devices to store.</param>
|
||||
/// <param name="merge">Whether to merge or replace the devices stored.</param>
|
||||
/// <param name="dirty">If the component should be dirtied upon this call.</param>
|
||||
/// <param name="deviceList">Device list component</param>
|
||||
public DeviceListUpdateResult UpdateDeviceList(EntityUid uid, IEnumerable<EntityUid> devices, bool merge = false, DeviceListComponent? deviceList = null)
|
||||
{
|
||||
|
||||
@@ -14,8 +14,6 @@ public abstract class SharedNetworkConfiguratorSystem : EntitySystem
|
||||
SubscribeLocalEvent<NetworkConfiguratorComponent, ComponentHandleState>(HandleNetworkConfiguratorState);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void GetNetworkConfiguratorState(EntityUid uid, NetworkConfiguratorComponent comp,
|
||||
ref ComponentGetState args)
|
||||
{
|
||||
@@ -34,19 +32,6 @@ public abstract class SharedNetworkConfiguratorSystem : EntitySystem
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ManualDeviceListSyncMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public ManualDeviceListSyncMessage(EntityUid? device, HashSet<EntityUid>? devices)
|
||||
{
|
||||
Device = device;
|
||||
Devices = devices;
|
||||
}
|
||||
|
||||
public EntityUid? Device { get; }
|
||||
public HashSet<EntityUid>? Devices { get; }
|
||||
}
|
||||
|
||||
public sealed class ClearAllOverlaysEvent : InstantActionEvent
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user