2023-06-17 05:07:58 +03:00
|
|
|
|
using Robust.Shared.Physics;
|
2022-07-04 02:31:12 -04:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Blocking;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// This component gets dynamically added to an Entity via the <see cref="BlockingSystem"/>
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class BlockingUserComponent : Component
|
2022-07-04 02:31:12 -04:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The entity that's being used to block
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("blockingItem")]
|
|
|
|
|
|
public EntityUid? BlockingItem;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Stores the entities original bodytype
|
|
|
|
|
|
/// Used so that it can be put back to what it was after anchoring
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("originalBodyType")]
|
|
|
|
|
|
public BodyType OriginalBodyType;
|
|
|
|
|
|
}
|