mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 14:07:53 +03:00
16 lines
392 B
C#
16 lines
392 B
C#
namespace Content.Server.DelayedDeath;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class DelayedDeathComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// How long it takes to kill the entity.
|
|
/// </summary>
|
|
[DataField]
|
|
public float DeathTime = 60;
|
|
|
|
/// <summary>
|
|
/// How long it has been since the delayed death timer started.
|
|
/// </summary>
|
|
public float DeathTimer;
|
|
} |