Search Results for

    Show / Hide Table of Contents

    Class SpawningRagdollEventArgs

    Contains all information before spawning a player ragdoll.

    Inheritance
    System.Object
    SpawningRagdollEventArgs
    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.Player
    Assembly: Exiled.Events.dll
    Syntax
    public class SpawningRagdollEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    SpawningRagdollEventArgs(RagdollData, DamageHandlerBase, Boolean)

    Initializes a new instance of the SpawningRagdollEventArgs class.

    Declaration
    public SpawningRagdollEventArgs(RagdollData info, DamageHandlerBase damageHandlerBase, bool isAllowed = true)
    Parameters
    Type Name Description
    PlayerRoles.Ragdolls.RagdollData info
    PlayerStatsSystem.DamageHandlerBase damageHandlerBase
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    CreationTime

    Gets the ragdoll's creation time.

    Declaration
    public double CreationTime { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    DamageHandlerBase

    Gets or sets the ragdoll's PlayerStatsSystem.DamageHandlerBase.

    Declaration
    public DamageHandlerBase DamageHandlerBase { get; set; }
    Property Value
    Type Description
    PlayerStatsSystem.DamageHandlerBase
    | Improve this Doc View Source

    Info

    Gets or sets the ragdoll's PlayerRoles.Ragdolls.RagdollData.

    Declaration
    public RagdollData Info { get; set; }
    Property Value
    Type Description
    PlayerRoles.Ragdolls.RagdollData
    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether or not the ragdoll can be spawned.

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

    Nickname

    Gets or sets the ragdoll's nickname.

    Declaration
    public string Nickname { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Player

    Gets the Owner of the ragdoll.

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

    Position

    Gets or sets the spawning position of the ragdoll.

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

    Role

    Gets or sets the ragdoll's PlayerRoles.RoleTypeId.

    Declaration
    public RoleTypeId Role { get; set; }
    Property Value
    Type Description
    PlayerRoles.RoleTypeId
    | Improve this Doc View Source

    Rotation

    Gets or sets the ragdoll's rotation.

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

    Scale

    Gets or sets the ragdoll's scale.

    Declaration
    public Vector3 Scale { get; set; }
    Property Value
    Type Description
    UnityEngine.Vector3

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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