Search Results for

    Show / Hide Table of Contents

    Class PlacingBulletHoleEventArgs

    Contains all information before placing a bullet hole decal.

    Inheritance
    System.Object
    PlacingBulletHoleEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    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 PlacingBulletHoleEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    PlacingBulletHoleEventArgs(Player, RaycastHit)

    Initializes a new instance of the PlacingBulletHoleEventArgs class.

    Declaration
    public PlacingBulletHoleEventArgs(Player owner, RaycastHit hit)
    Parameters
    Type Name Description
    Player owner
    UnityEngine.RaycastHit hit

    Properties

    | Improve this Doc View Source

    IsAllowed

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

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Player

    Gets the decal owner.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    Position

    Gets or sets the decal position.

    Declaration
    public Vector3 Position { get; set; }
    Property Value
    Type Description
    UnityEngine.Vector3
    | Improve this Doc View Source

    Rotation

    Gets or sets the decal rotation.

    Declaration
    public Quaternion Rotation { get; set; }
    Property Value
    Type Description
    UnityEngine.Quaternion

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX