Table of Contents

Class PlacingBulletHoleEventArgs

Namespace
Exiled.Events.EventArgs.Map
Assembly
Exiled.Events.dll

Contains all information before placing a bullet hole decal.

public class PlacingBulletHoleEventArgs : IFirearmEvent, IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
PlacingBulletHoleEventArgs
Implements
Inherited Members
Extension Methods

Constructors

PlacingBulletHoleEventArgs(Item, RaycastHit)

Initializes a new instance of the PlacingBulletHoleEventArgs class.

public PlacingBulletHoleEventArgs(Item firearm, RaycastHit hit)

Parameters

firearm Item
hit RaycastHit

Properties

Firearm

Gets the Firearm triggering the event.

public Firearm Firearm { get; }

Property Value

Firearm

IsAllowed

Gets or sets a value indicating whether the decal can be placed.

public bool IsAllowed { get; set; }

Property Value

bool

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Player

Gets the decal owner.

public Player Player { get; }

Property Value

Player

Position

Gets or sets the decal position.

public Vector3 Position { get; set; }

Property Value

Vector3

Rotation

Gets or sets the decal rotation.

public Quaternion Rotation { get; set; }

Property Value

Quaternion