mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
11 lines
437 B
C#
11 lines
437 B
C#
using System.Numerics;
|
|
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]
|
|
public record struct HitScanReflectAttemptEvent(EntityUid? Shooter, EntityUid SourceItem, ReflectType Reflective, Vector2 Direction, bool Reflected);
|