Class InspectingItemEventArgs
Contains all information before weapon is inspected.
public class InspectingItemEventArgs : IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
InspectingItemEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
InspectingItemEventArgs(ItemBase, bool)
Initializes a new instance of the InspectingItemEventArgs class.
public InspectingItemEventArgs(ItemBase item, bool isAllowed = true)
Parameters
itemItemBaseisAllowedbool
Properties
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Remarks
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Player
Gets the Player triggering the event.
public Player Player { get; }