@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user