2017-09-24 23:19:47 +02:00
|
|
|
|
using Content.Server.GameObjects;
|
|
|
|
|
|
using Content.Server.Interfaces.GameObjects;
|
|
|
|
|
|
using SS14.Shared.ContentPack;
|
|
|
|
|
|
using SS14.Shared.Interfaces.GameObjects;
|
|
|
|
|
|
using SS14.Shared.IoC;
|
2017-08-04 14:24:01 +02:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Server
|
|
|
|
|
|
{
|
|
|
|
|
|
public class EntryPoint : GameServer
|
|
|
|
|
|
{
|
|
|
|
|
|
public override void Init()
|
|
|
|
|
|
{
|
2017-09-24 23:19:47 +02:00
|
|
|
|
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>();
|
2017-10-06 21:05:21 +02:00
|
|
|
|
|
|
|
|
|
|
factory.Register<InteractableComponent>();
|
|
|
|
|
|
factory.RegisterReference<InteractableComponent, IInteractableComponent>();
|
2017-10-07 15:15:29 +02:00
|
|
|
|
|
|
|
|
|
|
factory.Register<DamageableComponent>();
|
|
|
|
|
|
factory.Register<DestructibleComponent>();
|
|
|
|
|
|
factory.Register<TemperatureComponent>();
|
2017-08-04 14:24:01 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|