"ECS" do_after (#6531)

This commit is contained in:
metalgearsloth
2022-02-20 06:15:57 +11:00
committed by GitHub
parent 56fc6011f1
commit 6bd0de6299
5 changed files with 233 additions and 258 deletions

View File

@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Map;
using Robust.Shared.Serialization;
@@ -24,13 +21,12 @@ namespace Content.Shared.DoAfter
}
[Serializable, NetSerializable]
#pragma warning disable 618
public sealed class CancelledDoAfterMessage : ComponentMessage
#pragma warning restore 618
public sealed class CancelledDoAfterMessage : EntityEventArgs
{
public EntityUid Uid;
public byte ID { get; }
public CancelledDoAfterMessage(byte id)
public CancelledDoAfterMessage(EntityUid uid, byte id)
{
ID = id;
}