Class PlacingPickupIntoPocketDimensionEventArgs
Contains information about items in the pocket dimension.
public class PlacingPickupIntoPocketDimensionEventArgs : IDeniableEvent, IPickupEvent, IExiledEvent
- Inheritance
-
PlacingPickupIntoPocketDimensionEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
PlacingPickupIntoPocketDimensionEventArgs(ItemPickupBase, PocketItem, bool)
Initializes a new instance of the PlacingPickupIntoPocketDimensionEventArgs class.
public PlacingPickupIntoPocketDimensionEventArgs(ItemPickupBase pickupBase, Scp106PocketItemManager.PocketItem pocketItem, bool isAllowed)
Parameters
pickupBase
ItemPickupBasepocketItem
Scp106PocketItemManager.PocketItemisAllowed
bool
Properties
DropTime
Gets or sets a value indicating when the Pickup will be dropped onto the map.
public double DropTime { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Pickup
Gets the Pickup triggering the event.
public Pickup Pickup { get; }
Property Value
PocketItem
Gets the value of the PocketItem.
public Scp106PocketItemManager.PocketItem PocketItem { get; }
Property Value
- Scp106PocketItemManager.PocketItem
Position
Gets or sets the location where the pickup will drop onto the map.
public Vector3 Position { get; set; }
Property Value
- Vector3
ShouldRemove
Gets or sets a value indicating whether the pickup should be removed from the Pocket Dimension.
public bool ShouldRemove { get; set; }
Property Value
ShouldWarn
Gets or sets a value indicating whether the warning sound for the pickup should be sent.
public bool ShouldWarn { get; set; }