Table of Contents

Class ChangedItemEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information after a player's held item changes.

public class ChangedItemEventArgs : IItemEvent, IPlayerEvent, IExiledEvent
Inheritance
ChangedItemEventArgs
Implements
Inherited Members
Extension Methods

Constructors

ChangedItemEventArgs(Player, ItemBase)

Initializes a new instance of the ChangedItemEventArgs class.

public ChangedItemEventArgs(Player player, ItemBase oldItem)

Parameters

player Player
oldItem ItemBase

Properties

Item

Gets the new item.

public Item Item { get; }

Property Value

Item

OldItem

Gets the previous item.

public Item OldItem { get; }

Property Value

Item

Player

Gets the player who's changed the item.

public Player Player { get; }

Property Value

Player