mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 00:27:59 +00:00
19 lines
443 B
C#
19 lines
443 B
C#
using Content.Server.Power.NodeGroups;
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|