CatStation/Content.Shared/Blocking/Components/BlockingUserComponent.cs
Princess Cheeseballs c0c1cd2948
Cleanup Blocking System (#44700)
* wokies

* one last thing

* field deltas
2026-07-17 07:05:39 +00:00

24 lines
770 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Physics;
namespace Content.Shared.Blocking.Components;
/// <summary>
/// This component gets dynamically added to an Entity via the <see cref="BlockingSystem"/>
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(fieldDeltas: true)]
public sealed partial class BlockingUserComponent : Component
{
/// <summary>
/// The entity that's being used to block
/// </summary>
[DataField, AutoNetworkedField]
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, AutoNetworkedField]
public BodyType OriginalBodyType;
}