Climbing refactor (#20516)
This commit is contained in:
7
Content.Shared/Climbing/Events/ClimbedOnEvent.cs
Normal file
7
Content.Shared/Climbing/Events/ClimbedOnEvent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Content.Shared.Climbing.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised on an entity when it is climbed on.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public readonly record struct ClimbedOnEvent(EntityUid Climber, EntityUid Instigator);
|
||||
@@ -4,7 +4,4 @@ namespace Content.Shared.Climbing.Events;
|
||||
/// Raised on an entity when it ends climbing.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public readonly record struct EndClimbEvent
|
||||
{
|
||||
|
||||
}
|
||||
public readonly record struct EndClimbEvent;
|
||||
|
||||
7
Content.Shared/Climbing/Events/StartClimbEvent.cs
Normal file
7
Content.Shared/Climbing/Events/StartClimbEvent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Content.Shared.Climbing.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised on an entity when it successfully climbs on something.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public readonly record struct StartClimbEvent(EntityUid Climbable);
|
||||
Reference in New Issue
Block a user