Files
space-station-14/Content.Shared/Interaction/Components/BlockMovementComponent.cs
Princess Cheeseballs eb41d5010b Physics Assert in SharedMoverController (#37970)
* Physics asserts and Xenoarch fixes

* Fix blocking asserts

* Alright ready for the test fails

* Fix whitespace issues

* Fix whitespace

* Okay fix whitespace issues for real

* Fix test fails

* Temp fix

* Fix

* Whitespace

* Added a big ass comment

* Right

* A

* Should work

* Debug performance

* Mothership

* fix test fails real

* push

* fix

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2025-12-22 02:42:39 +00:00

23 lines
604 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Interaction.Components;
/// <summary>
/// This is used for entities which cannot move or interact in any way.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class BlockMovementComponent : Component
{
/// <summary>
/// Blocks generic interactions such as container insertion, pick up, drop and such.
/// </summary>
[DataField]
public bool BlockInteraction = true;
/// <summary>
/// Blocks being able to use entities.
/// </summary>
[DataField]
public bool BlockUse = true;
}