mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
* Remove ComponentFamily, remove "game" components. The entire ComponentFamily system has been removed entirely. Components now require explicit registration into the IComponentFactory. This registration spawns the component as dummy and checks reads some data off it like name, netID... "Reference" types can also be registered using RegisterReference<TTarget, TInterface>(). These references allow you to get components from entities too, so you can reference by interfaces. This should allow us to inverse the direct fetching and provide a component API available from Shared. Note that these reference CANNOT be used to spawn a new component. Only a concrete registration can. Targeted component family messaging no longer exists. The messaging system still exist, but it's always to ALL components. The system should probably be killed completely later. To fill the gap, all cases where family-targeted messaging was used, it now uses references and simple interfaces. To reference components accross the network, the component now needs to define a "Net ID". These net IDs should be unique (but matching between client and server). I made a set of constants for these IDs too in NetIDs.cs Names are no longer used in netcode (replaced by net IDs). Should reduce bandwidth usage from string names. Because a LOT of code got in the way, most "game" content was cut. This includes (among others) items and interaction. This had to be reimplemented in content, and most of the code was terrible anyways. Also removed the messaging profiling system. It got in my way and I don't understand it (and I doubt anybody does). It's in the git history if somebody cares. Fixes #262, Fixes #250, Fixes #74. * Attempt to fix unit tests, not yet done. * Fix unit tests, properly. * Remove debug message. * Fix rendering on WearableAnimatedSprite. It wasn't being registered as ISpriteRenderableComponent because of a typo. The ComponentFactory now detects this error too.
18 lines
746 B
Plaintext
18 lines
746 B
Plaintext
|
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
# Visual Studio 2012
|
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SS14.Server", "SS14.Server.csproj", "{B04AAE71-0000-0000-0000-000000000000}"
|
|
EndProject
|
|
Global
|
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
Debug|x86 = Debug|x86
|
|
Release|x86 = Release|x86
|
|
EndGlobalSection
|
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
{B04AAE71-0000-0000-0000-000000000000}.Debug|x86.ActiveCfg = Debug|x86
|
|
{B04AAE71-0000-0000-0000-000000000000}.Debug|x86.Build.0 = Debug|x86
|
|
{B04AAE71-0000-0000-0000-000000000000}.Release|x86.ActiveCfg = Release|x86
|
|
{B04AAE71-0000-0000-0000-000000000000}.Release|x86.Build.0 = Release|x86
|
|
EndGlobalSection
|
|
EndGlobal
|