Table of Contents

Class JailbirdChangedWearStateEventArgs

Namespace
Exiled.Events.EventArgs.Item
Assembly
Exiled.Events.dll

Contains all information when a InventorySystem.Items.Jailbird.JailbirdItem changes its state.

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

Constructors

JailbirdChangedWearStateEventArgs(ItemBase, JailbirdWearState, JailbirdWearState)

Initializes a new instance of the JailbirdChangedWearStateEventArgs class.

public JailbirdChangedWearStateEventArgs(ItemBase jailbird, JailbirdWearState newWearState, JailbirdWearState oldWearState)

Parameters

jailbird ItemBase

The Jailbird item whose state is changing.

newWearState JailbirdWearState

The InventorySystem.Items.Jailbird.JailbirdWearState the Jailbird switched to.

oldWearState JailbirdWearState

The current InventorySystem.Items.Jailbird.JailbirdWearState the Jailbird was at.

Properties

Item

Gets the Item associated with the Jailbird.

public Item Item { get; }

Property Value

Item

Jailbird

Gets the Jailbird that changed its state.

public Jailbird Jailbird { get; }

Property Value

Jailbird

NewWearState

Gets the new InventorySystem.Items.Jailbird.JailbirdWearState of the Jailbird.

public JailbirdWearState NewWearState { get; }

Property Value

JailbirdWearState

OldWearState

Gets the old InventorySystem.Items.Jailbird.JailbirdWearState of the Jailbird.

public JailbirdWearState OldWearState { get; }

Property Value

JailbirdWearState

Player

Gets the Player who owns the Jailbird.

public Player Player { get; }

Property Value

Player