Stack components are now entirely logicless.

- GetState is handled in SharedStackSystem
- Adds friend attributes to the stack components
This commit is contained in:
Vera Aguilera Puerto
2021-08-30 11:49:09 +02:00
parent f15ed2ba50
commit d1fe278afc
5 changed files with 19 additions and 20 deletions

View File

@@ -1,11 +1,12 @@
using Content.Shared.Stacks;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.ViewVariables;
namespace Content.Server.Stack
{
// TODO: Naming and presentation and such could use some improvement.
[RegisterComponent]
[RegisterComponent, Friend(typeof(StackSystem))]
[ComponentReference(typeof(SharedStackComponent))]
public class StackComponent : SharedStackComponent
{