Predict wielding (#16275)
This commit is contained in:
15
Content.Shared/Actions/Events/DisarmAttemptEvent.cs
Normal file
15
Content.Shared/Actions/Events/DisarmAttemptEvent.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Content.Shared.Actions.Events;
|
||||
|
||||
public sealed class DisarmAttemptEvent : CancellableEntityEventArgs
|
||||
{
|
||||
public readonly EntityUid TargetUid;
|
||||
public readonly EntityUid DisarmerUid;
|
||||
public readonly EntityUid? TargetItemInHandUid;
|
||||
|
||||
public DisarmAttemptEvent(EntityUid targetUid, EntityUid disarmerUid, EntityUid? targetItemInHandUid = null)
|
||||
{
|
||||
TargetUid = targetUid;
|
||||
DisarmerUid = disarmerUid;
|
||||
TargetItemInHandUid = targetItemInHandUid;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user