Created Proximity Detection and Beeper Systems (#23177)

This commit is contained in:
Jezithyr
2024-01-04 15:56:23 -08:00
committed by GitHub
parent 435e218340
commit c242e05cde
11 changed files with 534 additions and 217 deletions

View File

@@ -0,0 +1,17 @@
using Content.Shared.FixedPoint;
using Content.Shared.ProximityDetection.Components;
using Robust.Shared.Serialization;
namespace Content.Shared.ProximityDetection;
[ByRefEvent]
public record struct ProximityDetectionAttemptEvent(bool Cancel, FixedPoint2 Distance, Entity<ProximityDetectorComponent> Detector);
[ByRefEvent]
public record struct ProximityTargetUpdatedEvent(ProximityDetectorComponent Detector, EntityUid? Target, FixedPoint2 Distance);
[ByRefEvent]
public record struct NewProximityTargetEvent(ProximityDetectorComponent Detector, EntityUid? Target);