Files
crystall-punk-14/Content.Shared/Weapons/Ranged/Events/HitScanReflectAttempt.cs

9 lines
309 B
C#

namespace Content.Shared.Weapons.Ranged.Events;
/// <summary>
/// Shot may be reflected by setting <see cref="Reflected"/> to true
/// and changing <see cref="Direction"/> where shot will go next
/// </summary>
[ByRefEvent]
public record struct HitScanReflectAttemptEvent(Vector2 Direction, bool Reflected);