Class ChangingWearablesEventArgs
Contains all information before new information about wearables is sent to clients.
public class ChangingWearablesEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
ChangingWearablesEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ChangingWearablesEventArgs(Player, WearableElements, bool)
Initializes a new instance of the ChangingWearablesEventArgs class.
public ChangingWearablesEventArgs(Player player, WearableElements newWearables, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
NewWearables
Gets or sets new wearables that'll be displayed on Player.
public WearableElementType NewWearables { get; set; }
Property Value
Player
Gets the Player triggering the event.
public Player Player { get; }