18 lines
432 B
C#
18 lines
432 B
C#
using Content.Shared.Movement.Components;
|
|
|
|
namespace Content.Shared.Movement;
|
|
|
|
/// <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; }
|
|
}
|