action refactor proper ecs edition (#27422)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Content.Shared.Actions;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Actions.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This component indicates that this entity contains actions inside of some container.
|
||||
/// </summary>
|
||||
[NetworkedComponent, RegisterComponent, Access(typeof(ActionContainerSystem), typeof(SharedActionsSystem))]
|
||||
public sealed partial class ActionsContainerComponent : Component
|
||||
{
|
||||
public const string ContainerId = "actions";
|
||||
|
||||
[ViewVariables]
|
||||
public Container Container = default!;
|
||||
}
|
||||
Reference in New Issue
Block a user