Table of Contents

Class InspectingItemEventArgs

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

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

item ItemBase

isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Remarks

Setter will not work if inspected Item is a Firearm or a Keycard.

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Player

Gets the Player triggering the event.

public Player Player { get; }

Property Value

Player