namespace Content.Shared.CombatMode; [ByRefEvent] public record struct DisarmedEvent(EntityUid Target, EntityUid Source, float PushProb) { /// /// The entity being disarmed. /// public readonly EntityUid Target = Target; /// /// The entity performing the disarm. /// public readonly EntityUid Source = Source; /// /// Probability for push/knockdown. /// public readonly float PushProbability = PushProb; /// /// Prefix for the popup message that will be displayed on a successful push. /// Should be set before returning. /// public string PopupPrefix = ""; /// /// Whether the entity was successfully stunned from a shove. /// public bool IsStunned; public bool Handled; }