Move disarmed event (#8130)

This commit is contained in:
wrexbe
2022-05-12 22:30:30 -07:00
committed by GitHub
parent 41f38ef0a0
commit 16ad873688
8 changed files with 10 additions and 45 deletions

View File

@@ -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;

View 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; }
}
}