namespace Content.Shared.CombatMode { public sealed class DisarmedEvent : HandledEntityEventArgs { /// /// The entity being disarmed. /// public EntityUid Target { get; init; } /// /// The entity performing the disarm. /// public EntityUid Source { get; init; } /// /// Probability for push/knockdown. /// public float PushProbability { get; init; } /// /// Prefix for the popup message that will be displayed on a successful push. /// Should be set before returning. /// public string PopupPrefix { get; set; } = ""; /// /// Whether the entity was successfully stunned from a shove. /// public bool IsStunned { get; set; } /// /// Potential stamina damage if this disarm results in a shove. /// public float StaminaDamage { get; init; } /// /// Whether the entity was successfully stunned from a shove. /// public bool WasDisarmed { get; set; } } }