20 lines
476 B
C#
20 lines
476 B
C#
using Content.Server.Power.NodeGroups;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Server.Power.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed class BatteryDischargerComponent : BasePowerNetComponent
|
|
{
|
|
protected override void AddSelfToNet(IPowerNet net)
|
|
{
|
|
net.AddDischarger(this);
|
|
}
|
|
|
|
protected override void RemoveSelfFromNet(IPowerNet net)
|
|
{
|
|
net.RemoveDischarger(this);
|
|
}
|
|
}
|
|
}
|