Adds a component to require an entity to be powered to receive DeviceNetwork packets. (#11390)

This commit is contained in:
Flipp Syder
2022-09-19 16:59:32 -07:00
committed by GitHub
parent 2ed3779405
commit 1c4e1ba5de
11 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
namespace Content.Server.DeviceNetwork.Components;
/// <summary>
/// Component that indicates that this device networked entity requires power
/// in order to receive a packet. Having this component will cancel all packet events
/// if the entity is not powered.
/// </summary>
[RegisterComponent]
public sealed class DeviceNetworkRequiresPowerComponent : Component
{
}