Files
crystall-punk-14/Content.Shared/Movement/Events/UpdateCanMoveEvent.cs

18 lines
439 B
C#
Raw Permalink Normal View History

2022-04-10 16:48:11 +12:00
using Content.Shared.Movement.Components;
namespace Content.Shared.Movement.Events;
2022-04-10 16:48:11 +12:00
/// <summary>
/// Raised whenever <see cref="IMoverComponent.CanMove"/> needs to be updated. Cancel this event to prevent a
/// mover from moving.
/// </summary>
public sealed class UpdateCanMoveEvent : CancellableEntityEventArgs
{
public UpdateCanMoveEvent(EntityUid uid)
{
Uid = uid;
}
public EntityUid Uid { get; }
}