6
StarHorizon_Public/Content.Shared/Damage/Components/DamagedByContactComponent.cs
2025-08-05 10:00:54 +03:00

15 lines
484 B
C#

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