20
Content.Shared/Damage/Components/DamageContactsComponent.cs
Normal file
20
Content.Shared/Damage/Components/DamageContactsComponent.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Content.Shared.Whitelist;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Damage.Components;
|
||||
|
||||
[NetworkedComponent, RegisterComponent]
|
||||
public sealed 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;
|
||||
}
|
||||
Reference in New Issue
Block a user