Class SearchingPickupEventArgs
Contains all information before a player searches a Pickup.
Inheritance
System.Object
SearchingPickupEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Player
Assembly: Exiled.Events.dll
Syntax
public class SearchingPickupEventArgs : IPlayerEvent, IPickupEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceSearchingPickupEventArgs(Player, ItemPickupBase, SearchSession, SearchCompletor, Single)
Initializes a new instance of the SearchingPickupEventArgs class.
Declaration
public SearchingPickupEventArgs(Player player, ItemPickupBase pickup, SearchSession searchSession, SearchCompletor searchCompletor, float searchTime)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
InventorySystem.Items.Pickups.ItemPickupBase | pickup | |
InventorySystem.Searching.SearchSession | searchSession | |
InventorySystem.Searching.SearchCompletor | searchCompletor | |
System.Single | searchTime |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether the Pickup can be searched.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Pickup
Gets the Pickup that is being searched.
Declaration
public Pickup Pickup { get; }
Property Value
Type | Description |
---|---|
Pickup |
Player
Gets the Player who's searching the Pickup.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
SearchCompletor
Gets or sets the SearchCompletor.
Declaration
public SearchCompletor SearchCompletor { get; set; }
Property Value
Type | Description |
---|---|
InventorySystem.Searching.SearchCompletor |
SearchSession
Gets or sets the SearchSession.
Declaration
public SearchSession SearchSession { get; set; }
Property Value
Type | Description |
---|---|
InventorySystem.Searching.SearchSession |
SearchTime
Gets or sets the Pickup search duration.
Declaration
public float SearchTime { get; set; }
Property Value
Type | Description |
---|---|
System.Single |