Files
wwdpublic/Content.Shared/Weapons/Ranged/Events/HitScanReflectAttempt.cs
Spatison d5d5278999 [Port/Tweak] Eshield / Е-Щит (#94)
* tweak: eshield

* add: energy shield

* fix
2024-10-23 17:23:44 +07:00

14 lines
506 B
C#

using System.Numerics;
using Content.Shared.Damage;
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, DamageSpecifier? Damage); // WD EDIT