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

12 lines
437 B
C#
Raw Permalink Normal View History

using System.Numerics;
2023-05-15 15:21:05 +10:00
using Content.Shared.Weapons.Reflect;
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]
2023-06-01 00:57:31 -05:00
public record struct HitScanReflectAttemptEvent(EntityUid? Shooter, EntityUid SourceItem, ReflectType Reflective, Vector2 Direction, bool Reflected);