Files
crystall-punk-14/Content.Shared/CombatMode/DisarmedEvent.cs

32 lines
941 B
C#
Raw Permalink Normal View History

namespace Content.Shared.CombatMode
{
public sealed class DisarmedEvent : HandledEntityEventArgs
{
/// <summary>
/// The entity being disarmed.
/// </summary>
2021-12-05 18:09:01 +01:00
public EntityUid Target { get; init; }
/// <summary>
/// The entity performing the disarm.
/// </summary>
2021-12-05 18:09:01 +01:00
public EntityUid Source { get; init; }
/// <summary>
/// Probability for push/knockdown.
/// </summary>
public float PushProbability { get; init; }
/// <summary>
/// Prefix for the popup message that will be displayed on a successful push.
/// Should be set before returning.
/// </summary>
public string PopupPrefix { get; set; } = "";
/// <summary>
/// Whether the entity was successfully stunned from a shove.
/// </summary>
public bool IsStunned { get; set; }
}
}