- GetState is handled in SharedStackSystem - Adds friend attributes to the stack components
17 lines
518 B
C#
17 lines
518 B
C#
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, Friend(typeof(StackSystem))]
|
|
[ComponentReference(typeof(SharedStackComponent))]
|
|
public class StackComponent : SharedStackComponent
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public bool ThrowIndividually { get; set; } = false;
|
|
}
|
|
}
|