6
StarHorizon_Public/Content.Shared/Damage/Components/DamageContactsComponent.cs
2026-01-24 12:49:55 +03:00

21 lines
576 B
C#

using Content.Shared.Whitelist;
using Robust.Shared.GameStates;
namespace Content.Shared.Damage.Components;
[NetworkedComponent, RegisterComponent]
public sealed partial class DamageContactsComponent : Component
{
/// <summary>
/// The damage done each second to those touching this entity
/// </summary>
[DataField("damage", required: true)]
public DamageSpecifier Damage = new();
/// <summary>
/// Entities that aren't damaged by this entity
/// </summary>
[DataField("ignoreWhitelist")]
public EntityWhitelist? IgnoreWhitelist;
}