Move disarmed event (#8130)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using System.Diagnostics;
|
||||
using Content.Server.Act;
|
||||
using Content.Server.Actions.Events;
|
||||
using Content.Server.Administration.Logs;
|
||||
using Content.Server.Hands.Components;
|
||||
@@ -11,10 +9,6 @@ using Content.Shared.CombatMode;
|
||||
using Content.Shared.Database;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Player;
|
||||
using Robust.Shared.Random;
|
||||
|
||||
|
||||
20
Content.Server/CombatMode/DisarmedEvent.cs
Normal file
20
Content.Server/CombatMode/DisarmedEvent.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace Content.Server.CombatMode
|
||||
{
|
||||
public sealed class DisarmedEvent : HandledEntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// The entity being disarmed.
|
||||
/// </summary>
|
||||
public EntityUid Target { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The entity performing the disarm.
|
||||
/// </summary>
|
||||
public EntityUid Source { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Probability for push/knockdown.
|
||||
/// </summary>
|
||||
public float PushProbability { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user