Files
crystall-punk-14/Content.Server/DoAfter/DoAfterComponent.cs

15 lines
498 B
C#
Raw Normal View History

2021-06-09 22:19:39 +02:00
using Content.Shared.DoAfter;
2021-06-09 22:19:39 +02:00
namespace Content.Server.DoAfter
{
2022-02-20 06:15:57 +11:00
[RegisterComponent, Friend(typeof(DoAfterSystem))]
public sealed class DoAfterComponent : SharedDoAfterComponent
{
2022-02-20 06:15:57 +11:00
public readonly Dictionary<DoAfter, byte> DoAfters = new();
// So the client knows which one to update (and so we don't send all of the do_afters every time 1 updates)
// we'll just send them the index. Doesn't matter if it wraps around.
2022-02-20 06:15:57 +11:00
public byte RunningIndex;
}
}