Class ChangingNicknameEventArgs
Contains all information before changing a player's in-game nickname.
public class ChangingNicknameEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
ChangingNicknameEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ChangingNicknameEventArgs(Player, string)
Initializes a new instance of the ChangingNicknameEventArgs class.
public ChangingNicknameEventArgs(Player player, string newName)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the event should be allowed.
public bool IsAllowed { get; set; }
Property Value
NewName
Gets or sets the Player's new name.
public string NewName { get; set; }
Property Value
OldName
Gets the Player's old name.
public string OldName { get; }
Property Value
Player
Gets the Player who's name is being changed.
public Player Player { get; }