Fix being able to start pulling something while incapacitated. (#4240)
This commit is contained in:
committed by
GitHub
parent
a1088faa35
commit
9bedfe79be
19
Content.Shared/Pulling/Events/StartPullAttemptEvent.cs
Normal file
19
Content.Shared/Pulling/Events/StartPullAttemptEvent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Shared.Pulling.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Directed event raised on the puller to see if it can start pulling something.
|
||||
/// </summary>
|
||||
public class StartPullAttemptEvent : CancellableEntityEventArgs
|
||||
{
|
||||
public StartPullAttemptEvent(IEntity puller, IEntity pulled)
|
||||
{
|
||||
Puller = puller;
|
||||
Pulled = pulled;
|
||||
}
|
||||
|
||||
public IEntity Puller { get; }
|
||||
public IEntity Pulled { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user