mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* Easy review changes * Change mass factor calculation * Minor formatting fix * Review fixes + prevent same-grid pulling
16 lines
585 B
C#
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();
|
|
}
|