Delta-v/Content.Shared/_RMC14/Emote/EmoteCooldownComponent.cs

12 lines
484 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared._RMC14.Emote;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause]
[Access(typeof(SharedRMCEmoteSystem))]
public sealed partial class EmoteCooldownComponent : Component
{
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoNetworkedField, AutoPausedField]
public TimeSpan NextEmote;
}