Files
RobustToolbox/Robust.Server/GameObjects/ServerComponentFactory.cs
metalgearsloth 8d5ebd830a Add CompRegistry methods to EntManager / CompFac (#5379)
* Add CompRegistry methods to EntManager / CompFac

CompRegistries are nice to use and this just makes it a bit easier to extend functionality.

* fix bad pull
2024-08-25 21:37:14 +10:00

19 lines
685 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Reflection;
using Robust.Shared.Serialization.Manager;
namespace Robust.Server.GameObjects;
internal sealed class ServerComponentFactory : ComponentFactory
{
public ServerComponentFactory(IDynamicTypeFactoryInternal typeFactory, IReflectionManager reflectionManager, ISerializationManager serManager, ILogManager logManager) : base(typeFactory, reflectionManager, serManager, logManager)
{
RegisterIgnore("Input");
RegisterIgnore("AnimationPlayer");
RegisterIgnore("GenericVisualizer");
RegisterIgnore("Sprite"); // Fucking finally
}
}