1
0

ContainerCompComponent.cs 483 B

1234567891011121314151617
  1. using Robust.Shared.GameStates;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.Containers;
  4. /// <summary>
  5. /// Applies container changes whenever an entity is inserted into the specified container on this entity.
  6. /// </summary>
  7. [RegisterComponent, NetworkedComponent]
  8. public sealed partial class ContainerCompComponent : Component
  9. {
  10. [DataField(required: true)]
  11. public EntProtoId Proto;
  12. [DataField(required: true)]
  13. public string Container = string.Empty;
  14. }