2023-07-08 14:08:32 +10:00
|
|
|
using System.Numerics;
|
2023-05-15 15:21:05 +10:00
|
|
|
using Content.Shared.Weapons.Reflect;
|
|
|
|
|
|
2023-04-02 16:48:32 +03:00
|
|
|
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);
|