mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
* More Skia tweaks * Swapped whitelist for EntityWhitelist * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
19 lines
570 B
C#
19 lines
570 B
C#
using Content.Shared.Whitelist;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._DV.Projectiles;
|
|
|
|
/// <summary>
|
|
/// Indicates that the entity cannot be embedded with select projectiles.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class EmbedImmuneComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// A list of projectiles that this entity is immune to being embedded by.
|
|
/// If null, the entity is immune to all projectiles.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public EntityWhitelist ImmuneTo = default!;
|
|
}
|