mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
18 lines
448 B
C#
18 lines
448 B
C#
using Content.Server.Power.NodeGroups;
|
|
|
|
namespace Content.Server.Power.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class BatteryDischargerComponent : BasePowerNetComponent
|
|
{
|
|
protected override void AddSelfToNet(IPowerNet net)
|
|
{
|
|
net.AddDischarger(this);
|
|
}
|
|
|
|
protected override void RemoveSelfFromNet(IPowerNet net)
|
|
{
|
|
net.RemoveDischarger(this);
|
|
}
|
|
}
|
|
}
|