Files
RobustToolbox/SS14.Server/GameObjects/ServerComponentFactory.cs
Pieter-Jan Briers 8397c955a8 Map Pausing. (#710)
You can now "pause" a map. Ideally this would result in the map not doing significant processing until unpaused.

This can be used later to code proper map editor modes that won't have any side effects while being edited.
2018-11-27 00:32:45 +01:00

58 lines
2.0 KiB
C#

using SS14.Server.GameObjects.Components;
using SS14.Server.GameObjects.Components.Container;
using SS14.Server.GameObjects.Components.Markers;
using SS14.Server.GameObjects.Components.UserInterface;
using SS14.Server.Interfaces.GameObjects;
using SS14.Shared.GameObjects;
using SS14.Shared.GameObjects.Components.Transform;
using SS14.Shared.GameObjects.Components.UserInterface;
using SS14.Shared.Interfaces.GameObjects.Components;
namespace SS14.Server.GameObjects
{
public class ServerComponentFactory : ComponentFactory
{
public ServerComponentFactory()
{
RegisterIgnore("Icon");
RegisterIgnore("Occluder");
RegisterIgnore("Eye");
RegisterIgnore("IconSmooth");
Register<BasicActorComponent>();
RegisterReference<BasicActorComponent, IActorComponent>();
Register<CollidableComponent>();
RegisterReference<CollidableComponent, ICollidableComponent>();
Register<BoundingBoxComponent>();
Register<PointLightComponent>();
RegisterIgnore("Input");
Register<PlayerInputMoverComponent>();
RegisterReference<PlayerInputMoverComponent, IMoverComponent>();
Register<ParticleSystemComponent>();
Register<PhysicsComponent>();
Register<SpriteComponent>();
Register<TransformComponent>();
RegisterReference<TransformComponent, ITransformComponent>();
Register<ClickableComponent>();
RegisterReference<ClickableComponent, IClickableComponent>();
Register<ContainerManagerComponent>();
RegisterReference<ContainerManagerComponent, IContainerManager>();
Register<AiControllerComponent>();
Register<AppearanceComponent>();
Register<SnapGridComponent>();
Register<ServerUserInterfaceComponent>();
RegisterReference<ServerUserInterfaceComponent, SharedUserInterfaceComponent>();
Register<IgnorePauseComponent>();
}
}
}