2022-05-12 22:30:30 -07:00
|
|
|
namespace Content.Server.CombatMode
|
2021-01-09 20:31:34 +01:00
|
|
|
{
|
2022-02-26 18:24:08 +13:00
|
|
|
public sealed class DisarmedEvent : HandledEntityEventArgs
|
2021-01-09 20:31:34 +01:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The entity being disarmed.
|
|
|
|
|
/// </summary>
|
2021-12-05 18:09:01 +01:00
|
|
|
public EntityUid Target { get; init; }
|
2021-01-09 20:31:34 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The entity performing the disarm.
|
|
|
|
|
/// </summary>
|
2021-12-05 18:09:01 +01:00
|
|
|
public EntityUid Source { get; init; }
|
2021-01-09 20:31:34 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Probability for push/knockdown.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PushProbability { get; init; }
|
|
|
|
|
}
|
|
|
|
|
}
|