* Implement device networking * Implement device configuration menu * Fix device network * Implement disposal mailing unit * Implement base network connection Implement wired and wireless network connection Implement device network metadata * Fix dereference null error * Fix wired network null checks * Change BaseNetworks enum to NetworkUtils class Add PingResponse function to NetworkUtils Change device network file structure * Add doc comments * Apply suggestions from code review Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com> * Add tag validation to disposal mailing unit * Add tag validation to the mailing unit component * Address reviews Change WiredNetwork can connect check Change device networking string literals to constants * Address reviews Revert changes to PowerProvider and PowerReceiver Add new NodeGroup WELP * Fix recursive access to Owner property * Integrate suggested changes * Fix TryGetWireNet acting on NullPowerProvider Fix network connections not checking if their owner has been deleted * Close device network connection when the owning entity got deleted Fix mailing unit not closing the device network connection on remove * Remove GetWireNet from NullPowerProvider Co-authored-by: Julian Giebel <j.giebel@netrocks.info> Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
52 lines
2.3 KiB
C#
52 lines
2.3 KiB
C#
using Content.Server.AI.Utility.Considerations;
|
|
using Content.Server.AI.WorldState;
|
|
using Content.Server.Cargo;
|
|
using Content.Server.Chat;
|
|
using Content.Server.Database;
|
|
using Content.Server.GameObjects.Components.Mobs.Speech;
|
|
using Content.Server.GameObjects.Components.NodeContainer.NodeGroups;
|
|
using Content.Server.GameObjects.Components.Power.PowerNetComponents;
|
|
using Content.Server.GameObjects.EntitySystems.DeviceNetwork;
|
|
using Content.Server.GameTicking;
|
|
using Content.Server.Interfaces;
|
|
using Content.Server.Interfaces.Chat;
|
|
using Content.Server.Interfaces.GameTicking;
|
|
using Content.Server.Interfaces.PDA;
|
|
using Content.Server.PDA;
|
|
using Content.Server.Preferences;
|
|
using Content.Server.Sandbox;
|
|
using Content.Server.Utility;
|
|
using Content.Shared.Interfaces;
|
|
using Content.Shared.Kitchen;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Content.Server
|
|
{
|
|
internal static class ServerContentIoC
|
|
{
|
|
public static void Register()
|
|
{
|
|
IoCManager.Register<ISharedNotifyManager, ServerNotifyManager>();
|
|
IoCManager.Register<IServerNotifyManager, ServerNotifyManager>();
|
|
IoCManager.Register<IGameTicker, GameTicker>();
|
|
IoCManager.Register<IChatManager, ChatManager>();
|
|
IoCManager.Register<IMoMMILink, MoMMILink>();
|
|
IoCManager.Register<ISandboxManager, SandboxManager>();
|
|
IoCManager.Register<ICargoOrderDataManager, CargoOrderDataManager>();
|
|
IoCManager.Register<IModuleManager, ServerModuleManager>();
|
|
IoCManager.Register<IServerPreferencesManager, ServerPreferencesManager>();
|
|
IoCManager.Register<IServerDbManager, ServerDbManager>();
|
|
IoCManager.Register<RecipeManager, RecipeManager>();
|
|
IoCManager.Register<IPDAUplinkManager,PDAUplinkManager>();
|
|
IoCManager.Register<INodeGroupFactory, NodeGroupFactory>();
|
|
IoCManager.Register<INodeGroupManager, NodeGroupManager>();
|
|
IoCManager.Register<IPowerNetManager, PowerNetManager>();
|
|
IoCManager.Register<BlackboardManager, BlackboardManager>();
|
|
IoCManager.Register<ConsiderationsManager, ConsiderationsManager>();
|
|
IoCManager.Register<IAccentManager, AccentManager>();
|
|
IoCManager.Register<IConnectionManager, ConnectionManager>();
|
|
IoCManager.Register<IDeviceNetwork, DeviceNetwork>();
|
|
}
|
|
}
|
|
}
|