mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-11-10 04:54:15 +03:00
28 lines
906 B
C#
28 lines
906 B
C#
using Content.Server.GameObjects;
|
|
using Content.Server.Interfaces.GameObjects;
|
|
using SS14.Shared.ContentPack;
|
|
using SS14.Shared.Interfaces.GameObjects;
|
|
using SS14.Shared.IoC;
|
|
|
|
namespace Content.Server
|
|
{
|
|
public class EntryPoint : GameServer
|
|
{
|
|
public override void Init()
|
|
{
|
|
var factory = IoCManager.Resolve<IComponentFactory>();
|
|
|
|
factory.Register<HandsComponent>();
|
|
factory.RegisterReference<HandsComponent, IHandsComponent>();
|
|
|
|
factory.Register<InventoryComponent>();
|
|
factory.RegisterReference<InventoryComponent, IInventoryComponent>();
|
|
|
|
factory.Register<ItemComponent>();
|
|
factory.RegisterReference<ItemComponent, IItemComponent>();
|
|
|
|
factory.Register<InteractableComponent>();
|
|
factory.RegisterReference<InteractableComponent, IInteractableComponent>();
|
|
}
|
|
}
|
|
}
|