Class AnnouncingScpTerminationEventArgs
Contains all information before C.A.S.S.I.E announces an SCP termination.
public class AnnouncingScpTerminationEventArgs : IAttackerEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
AnnouncingScpTerminationEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
AnnouncingScpTerminationEventArgs(Player, DamageHandlerBase, bool)
Initializes a new instance of the AnnouncingScpTerminationEventArgs class.
public AnnouncingScpTerminationEventArgs(Player scp, DamageHandlerBase damageHandlerBase, bool isAllowed = true)
Parameters
Properties
Attacker
Gets the player who killed the SCP.
public Player Attacker { get; }
Property Value
DamageHandler
Gets or sets the CustomDamageHandler.
public CustomDamageHandler DamageHandler { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the SCP termination will be announced by C.A.S.S.I.E.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player the announcement is being played for.
public Player Player { get; }
Property Value
Role
Gets the killed Role.
public Role Role { get; }
Property Value
TerminationCause
Gets or sets the termination cause.
public string TerminationCause { get; set; }