Files
tbd-station-14/Content.Shared/Damage/Components/DamagedByContactComponent.cs
Nemanja c4a92fdfa3 Meat Anomaly Tweaks (#14026)
* Meat Anomaly Tweaks

* 50%
2023-02-12 20:17:54 +00:00

15 lines
476 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared.Damage.Components;
[NetworkedComponent, RegisterComponent]
public sealed class DamagedByContactComponent : Component
{
[DataField("nextSecond", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
public TimeSpan NextSecond = TimeSpan.Zero;
[ViewVariables]
public DamageSpecifier? Damage;
}