using Content.Shared.Damage; using Robust.Shared.Physics; namespace Content.Shared.Blocking; /// /// This component gets dynamically added to an Entity via the /// [RegisterComponent] public sealed partial class BlockingUserComponent : Component { /// /// The entity that's being used to block /// [DataField("blockingItem")] public EntityUid? BlockingItem; /// /// Stores the entities original bodytype /// Used so that it can be put back to what it was after anchoring /// [DataField("originalBodyType")] public BodyType OriginalBodyType; } public sealed class BlockingEvent : EntityEventArgs { public EntityUid? User; public DamageSpecifier Damage; public BlockingEvent(EntityUid user, DamageSpecifier damage) { User = user; Damage = damage; } }