Search Results for

    Show / Hide Table of Contents

    Class AddingUnitNameEventArgs

    Contains all information before adding a new unit name.

    Inheritance
    System.Object
    AddingUnitNameEventArgs
    Implements
    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.Server
    Assembly: Exiled.Events.dll
    Syntax
    public class AddingUnitNameEventArgs : IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    AddingUnitNameEventArgs(UnitNamingRule, Boolean)

    Initializes a new instance of the AddingUnitNameEventArgs class.

    Declaration
    public AddingUnitNameEventArgs(UnitNamingRule unitNamingRule, bool isAllowed = true)
    Parameters
    Type Name Description
    Respawning.NamingRules.UnitNamingRule unitNamingRule

    The generated unit name.

    System.Boolean isAllowed

    The value indicating whether or not the unit name can be added.

    Properties

    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the unit name can be added.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    UnitNamingRule

    Gets the generated UnitNamingRule.

    Declaration
    public UnitNamingRule UnitNamingRule { get; }
    Property Value
    Type Description
    Respawning.NamingRules.UnitNamingRule

    Implements

    IDeniableEvent
    IExiledEvent

    Extension Methods

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