Class AnnouncingScpTerminationEventArgs
Contains all information before C.A.S.S.I.E announces an SCP termination.
Inheritance
System.Object
AnnouncingScpTerminationEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Map
Assembly: Exiled.Events.dll
Syntax
public class AnnouncingScpTerminationEventArgs : IAttackerEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceAnnouncingScpTerminationEventArgs(Player, DamageHandlerBase, Boolean)
Initializes a new instance of the AnnouncingScpTerminationEventArgs class.
Declaration
public AnnouncingScpTerminationEventArgs(Player scp, DamageHandlerBase damageHandlerBase, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | scp | |
PlayerStatsSystem.DamageHandlerBase | damageHandlerBase | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceAttacker
Gets the player who killed the SCP.
Declaration
public Player Attacker { get; }
Property Value
Type | Description |
---|---|
Player |
DamageHandler
Gets or sets the CustomDamageHandler.
Declaration
public CustomDamageHandler DamageHandler { get; set; }
Property Value
Type | Description |
---|---|
CustomDamageHandler |
IsAllowed
Gets or sets a value indicating whether or not the SCP termination will be announced by C.A.S.S.I.E.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player the announcement is being played for.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Role
Gets the killed Role.
Declaration
public Role Role { get; }
Property Value
Type | Description |
---|---|
Role |
TerminationCause
Gets or sets the termination cause.
Declaration
public string TerminationCause { get; set; }
Property Value
Type | Description |
---|---|
System.String |