Class JailbirdChangedWearStateEventArgs
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
jailbirdItemBaseThe Jailbird item whose state is changing.
newWearStateJailbirdWearStateThe InventorySystem.Items.Jailbird.JailbirdWearState the Jailbird switched to.
oldWearStateJailbirdWearStateThe current InventorySystem.Items.Jailbird.JailbirdWearState the Jailbird was at.
Properties
Item
Gets the Item associated with the Jailbird.
public Item Item { get; }
Property Value
Jailbird
Gets the Jailbird that changed its state.
public Jailbird Jailbird { get; }
Property Value
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
public Player Player { get; }