6
StarHorizon_Public/Content.Shared/Containers/ContainerCompComponent.cs
2026-01-18 12:53:36 +03:00

18 lines
483 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Containers;
/// <summary>
/// Applies container changes whenever an entity is inserted into the specified container on this entity.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class ContainerCompComponent : Component
{
[DataField(required: true)]
public EntProtoId Proto;
[DataField(required: true)]
public string Container = string.Empty;
}