fish-station/Content.Shared
moneyl b89615342e Fix exception in ReagentPrototype caused by IMetabolizable (#451)
* Fix exception in ReagentPrototype

Due to client trying to access concrete implementations of IMetabolizable that are in Content.Server. This fix checks to see if the prototype is being loaded by the client through reflection. I don't want to move the prototype completely into Content.Server since it's useful for the client to view descriptions and values of reagents without needing to send that data from the server.

* Make fix slightly more explicit

Now it will only load the metabolizable when in Robust.Server, instead of it being anything that's not Robust.Client.

* Add IModuleManager and ModuleManager

Provide simple way to check if shared code is being run by the server or the client

* Change ModuleManager implementations to not require assembly name comparison

Now just has ClientModuleManager registered to client, and ServerModuleManager registered to server.

* Change IModuleManager functions to properties

* Fix failing tests.

This was failing because the tests weren't initializing IoC. Simply using RobustUnitTest wasn't enough because that doesn't initialize content either. I did some cleaning up so now content IoC is registered via ContentUnitTest.
2019-11-23 21:55:31 +01:00
..
Access ID card console (#324) 2019-09-06 08:12:44 +02:00
Audio Rename toolbox references from ss14 to robust 2019-04-15 21:11:38 -06:00
Chat Rider static analysis (#433) 2019-11-13 23:37:46 +01:00
Chemistry Fix exception in ReagentPrototype caused by IMetabolizable (#451) 2019-11-23 21:55:31 +01:00
Construction Rename toolbox references from ss14 to robust 2019-04-15 21:11:38 -06:00
GameObjects Implement Cargo Console (#413) 2019-11-22 01:37:14 +01:00
Input Refactored input system 2019-08-04 16:03:51 -07:00
Interfaces Fix exception in ReagentPrototype caused by IMetabolizable (#451) 2019-11-23 21:55:31 +01:00
Jobs Basis for the job system (#434) 2019-11-17 17:18:39 +01:00
Maps Explosions and Grenades, Triggers, OnDestroy, OnExAct, Fueltanks and destructible tables (#247) 2019-06-07 13:15:20 +02:00
Materials Lathes (#207) 2019-04-26 15:51:05 +02:00
Maths Urist's damage and health thing. (#10) 2017-10-07 15:15:29 +02:00
Physics Physics Shapes (#306) 2019-09-03 22:14:04 +02:00
Prototypes/Cargo Implement Cargo Console (#413) 2019-11-22 01:37:14 +01:00
Research Rider static analysis (#433) 2019-11-13 23:37:46 +01:00
Sandbox Sandbox panel 2019-10-02 21:47:32 +02:00
Utility Add more dakka (#307) 2019-08-22 11:08:32 +02:00
VendingMachines Rider static analysis (#433) 2019-11-13 23:37:46 +01:00
app.config Updates submodule (#56) 2018-04-12 23:56:43 +02:00
Content.Shared.csproj Update all the NuGet packages & submodule. 2019-08-27 22:39:32 +02:00
EntryPoint.cs Rider static analysis (#433) 2019-11-13 23:37:46 +01:00
SharedGameTicker.cs Rider static analysis (#433) 2019-11-13 23:37:46 +01:00
SharedModuleTestingCallbacks.cs Improve integration testing 2019-06-29 01:58:16 +02:00
SharedNotifyManager.cs Rider static analysis (#433) 2019-11-13 23:37:46 +01:00