diff --git a/LabApi/Events/Arguments/ServerEvents/CassieQueuedScpTerminationEventArgs.cs b/LabApi/Events/Arguments/ServerEvents/CassieQueuedScpTerminationEventArgs.cs
index 43d888b2..e0c5011e 100644
--- a/LabApi/Events/Arguments/ServerEvents/CassieQueuedScpTerminationEventArgs.cs
+++ b/LabApi/Events/Arguments/ServerEvents/CassieQueuedScpTerminationEventArgs.cs
@@ -1,5 +1,6 @@
using LabApi.Events.Arguments.Interfaces;
using LabApi.Features.Wrappers;
+using PlayerStatsSystem;
using Subtitles;
using System;
@@ -16,11 +17,13 @@ public class CassieQueuedScpTerminationEventArgs : EventArgs, IPlayerEvent
/// The SCP player the C.A.S.S.I.E termination announcement is for.
/// The message C.A.S.S.I.E is supposed to say.
/// The subtitle part array of the message.
- public CassieQueuedScpTerminationEventArgs(ReferenceHub player, string announcement, SubtitlePart[] subtitles)
+ /// The damage handler that caused the termination of the SCP.
+ public CassieQueuedScpTerminationEventArgs(ReferenceHub player, string announcement, SubtitlePart[] subtitles, DamageHandlerBase damageHandler)
{
Player = Player.Get(player);
Announcement = announcement;
SubtitleParts = subtitles;
+ DamageHandler = damageHandler;
}
///
@@ -37,4 +40,9 @@ public CassieQueuedScpTerminationEventArgs(ReferenceHub player, string announcem
/// Gets or sets the subtitle parts of the message.
///
public SubtitlePart[] SubtitleParts { get; }
+
+ ///
+ /// The Damage Handler responsible for the SCP Termination.
+ ///
+ public DamageHandlerBase DamageHandler { get; }
}
diff --git a/LabApi/Events/Arguments/ServerEvents/CassieQueuingScpTerminationEventArgs.cs b/LabApi/Events/Arguments/ServerEvents/CassieQueuingScpTerminationEventArgs.cs
index f94c3e76..88afe799 100644
--- a/LabApi/Events/Arguments/ServerEvents/CassieQueuingScpTerminationEventArgs.cs
+++ b/LabApi/Events/Arguments/ServerEvents/CassieQueuingScpTerminationEventArgs.cs
@@ -1,5 +1,6 @@
using LabApi.Events.Arguments.Interfaces;
using LabApi.Features.Wrappers;
+using PlayerStatsSystem;
using Subtitles;
using System;
@@ -16,12 +17,14 @@ public class CassieQueuingScpTerminationEventArgs : EventArgs, IPlayerEvent, ICa
/// The SCP player the C.A.S.S.I.E termination announcement is for.
/// The message C.A.S.S.I.E is supposed to say.
/// The subtitle part array of the message.
- public CassieQueuingScpTerminationEventArgs(ReferenceHub player, string announcement, SubtitlePart[] subtitles)
+ /// The damage handler that caused the termination of the SCP.
+ public CassieQueuingScpTerminationEventArgs(ReferenceHub player, string announcement, SubtitlePart[] subtitles, DamageHandlerBase damageHandler)
{
IsAllowed = true;
Player = Player.Get(player);
Announcement = announcement;
SubtitleParts = [.. subtitles];
+ DamageHandler = damageHandler;
}
///
@@ -41,4 +44,9 @@ public CassieQueuingScpTerminationEventArgs(ReferenceHub player, string announce
///
public bool IsAllowed { get; set; }
+
+ ///
+ /// The Damage Handler responsible for the SCP Termination.
+ ///
+ public DamageHandlerBase DamageHandler { get; }
}