Show / Hide Table of Contents

Class SharedDeviceListSystem

Inheritance
System.Object
SharedDeviceListSystem
DeviceListSystem
DeviceListSystem
Namespace: Content.Shared.DeviceNetwork.Systems
Assembly: Content.Shared.dll
Syntax
public abstract class SharedDeviceListSystem : EntitySystem

Methods

| Improve this Doc View Source

GetAllDevices(EntityUid, DeviceListComponent)

Declaration
public IEnumerable<EntityUid> GetAllDevices(EntityUid uid, DeviceListComponent component = null)
Parameters
Type Name Description
EntityUid uid
DeviceListComponent component
Returns
Type Description
IEnumerable<EntityUid>
| Improve this Doc View Source

UpdateDeviceList(EntityUid, IEnumerable<EntityUid>, Boolean, DeviceListComponent)

Updates the device list stored on this entity.

Declaration
public DeviceListUpdateResult UpdateDeviceList(EntityUid uid, IEnumerable<EntityUid> devices, bool merge = false, DeviceListComponent deviceList = null)
Parameters
Type Name Description
EntityUid uid

The entity to update.

IEnumerable<EntityUid> devices

The devices to store.

System.Boolean merge

Whether to merge or replace the devices stored.

DeviceListComponent deviceList

Device list component

Returns
Type Description
DeviceListUpdateResult
| Improve this Doc View Source

UpdateShutdownSubscription(EntityUid, List<EntityUid>, List<EntityUid>)

Declaration
protected virtual void UpdateShutdownSubscription(EntityUid uid, List<EntityUid> devicesList, List<EntityUid> oldDevices)
Parameters
Type Name Description
EntityUid uid
List<EntityUid> devicesList
List<EntityUid> oldDevices
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾