1
0

ExitContainerOnMoveComponent.cs 423 B

1234567891011121314
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Containers;
  3. /// <summary>
  4. /// This is used for a container that is exited when the entity inside of it moves.
  5. /// </summary>
  6. [RegisterComponent, NetworkedComponent]
  7. [Access(typeof(ExitContainerOnMoveSystem))]
  8. public sealed partial class ExitContainerOnMoveComponent : Component
  9. {
  10. [DataField, ViewVariables(VVAccess.ReadWrite)]
  11. public string ContainerId;
  12. }