CatStation/Content.Shared/Weapons/Misc/GrapplingProjectileEmbedComponent.cs
SlamBamActionman 1030257563
Fix recent grappling hook code review comments (#44564)
* Easy review changes

* Change mass factor calculation

* Minor formatting fix

* Review fixes + prevent same-grid pulling
2026-07-14 16:21:30 +00:00

16 lines
585 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Weapons.Misc;
/// <summary>
/// Component used to track that an object has a grappling projectile embeded into it, to ensure joint relays between grid and entities are properly updated.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class GrapplingProjectileEmbedComponent : Component
{
/// <summary>
/// The projectiles embedded in this entity.
/// </summary>
[DataField, AutoNetworkedField]
public List<EntityUid> GrapplingProjectiles = new();
}