Search Results for

    Show / Hide Table of Contents

    Class ChangingNicknameEventArgs

    Contains all information before changing a player's in-game nickname.

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

    Constructors

    | Improve this Doc View Source

    ChangingNicknameEventArgs(Player, String)

    Initializes a new instance of the ChangingNicknameEventArgs class.

    Declaration
    public ChangingNicknameEventArgs(Player player, string newName)
    Parameters
    Type Name Description
    Player player

    The Player who's name is being changed.

    System.String newName

    The new name to be used.

    Properties

    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the event should be allowed.

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

    NewName

    Gets or sets the Player's new name.

    Declaration
    public string NewName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    OldName

    Gets the Player's old name.

    Declaration
    public string OldName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Player

    Gets the Player who's name is being changed.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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