using Content.Server.Power.Components;
using Content.Server.Power.Pow3r;
namespace Content.Server.Power.NodeGroups
{
public interface IBasePowerNet
{
///
/// Indicates whether this network forms some form of connection (more than one node).
///
///
/// Even "unconnected" power devices form a single-node power network all by themselves.
/// To players, this doesn't look like they're connected to anything.
/// This property accounts for this and forms a more intuitive check.
///
bool IsConnectedNetwork { get; }
void AddConsumer(PowerConsumerComponent consumer);
void RemoveConsumer(PowerConsumerComponent consumer);
void AddSupplier(PowerSupplierComponent supplier);
void RemoveSupplier(PowerSupplierComponent supplier);
PowerState.Network NetworkNode { get; }
}
}