Remove IoC resolves in BaseNetConnectorNodeGroup and friends (#20333)
This commit is contained in:
@@ -5,6 +5,9 @@ using Content.Server.NodeContainer.NodeGroups;
|
||||
|
||||
namespace Content.Server.Power.Components
|
||||
{
|
||||
// TODO find a way to just remove this or turn it into one component.
|
||||
// Component interface queries require enumerating over ALL of an entities components.
|
||||
// So BaseNetConnectorNodeGroup<TNetType> is slow as shit.
|
||||
public interface IBaseNetConnectorComponent<in TNetType>
|
||||
{
|
||||
public TNetType? Net { set; }
|
||||
|
||||
Reference in New Issue
Block a user