Class FillingLockerEventArgs
Contains all information before the server spawns an item in locker.
Inheritance
System.Object
FillingLockerEventArgs
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.Map
Assembly: Exiled.Events.dll
Syntax
public class FillingLockerEventArgs : IDeniableEvent, IPickupEvent, IExiledEvent
Constructors
| Improve this Doc View SourceFillingLockerEventArgs(ItemPickupBase, LockerChamber)
Initializes a new instance of the FillingLockerEventArgs class.
Declaration
public FillingLockerEventArgs(ItemPickupBase pickupBase, LockerChamber lockerChamber)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.Pickups.ItemPickupBase | pickupBase | |
MapGeneration.Distributors.LockerChamber | lockerChamber |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the item can be spawned.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LockerChamber
Gets a value indicating the target locker chamber.
Declaration
public LockerChamber LockerChamber { get; }
Property Value
Type | Description |
---|---|
MapGeneration.Distributors.LockerChamber |
Pickup
Gets a value indicating the item being spawned.
Declaration
public Pickup Pickup { get; }
Property Value
Type | Description |
---|---|
Pickup |