Search Results for

    Show / Hide Table of Contents

    Class AnnouncingScpTerminationEventArgs

    Contains all information before C.A.S.S.I.E announces an SCP termination.

    Inheritance
    System.Object
    AnnouncingScpTerminationEventArgs
    Implements
    IAttackerEvent
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    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 Source

    AnnouncingScpTerminationEventArgs(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 Source

    Attacker

    Gets the player who killed the SCP.

    Declaration
    public Player Attacker { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    DamageHandler

    Gets or sets the CustomDamageHandler.

    Declaration
    public CustomDamageHandler DamageHandler { get; set; }
    Property Value
    Type Description
    CustomDamageHandler
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Player

    Gets the player the announcement is being played for.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    Role

    Gets the killed Role.

    Declaration
    public Role Role { get; }
    Property Value
    Type Description
    Role
    | Improve this Doc View Source

    TerminationCause

    Gets or sets the termination cause.

    Declaration
    public string TerminationCause { get; set; }
    Property Value
    Type Description
    System.String

    Implements

    IAttackerEvent
    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX