BlockingUserComponent.cs 656 B

1234567891011121314151617181920212223
  1. using Robust.Shared.Physics;
  2. namespace Content.Shared.Blocking;
  3. /// <summary>
  4. /// This component gets dynamically added to an Entity via the <see cref="BlockingSystem"/>
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class BlockingUserComponent : Component
  8. {
  9. /// <summary>
  10. /// The entity that's being used to block
  11. /// </summary>
  12. [DataField("blockingItem")]
  13. public EntityUid? BlockingItem;
  14. /// <summary>
  15. /// Stores the entities original bodytype
  16. /// Used so that it can be put back to what it was after anchoring
  17. /// </summary>
  18. [DataField("originalBodyType")]
  19. public BodyType OriginalBodyType;
  20. }