Table of Contents

Class SpawnedRagdollEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information after spawning a player ragdoll.

public class SpawnedRagdollEventArgs : IPlayerEvent, IExiledEvent
Inheritance
SpawnedRagdollEventArgs
Implements
Inherited Members
Extension Methods

Constructors

SpawnedRagdollEventArgs(Player, Ragdoll, RagdollData, DamageHandlerBase)

Initializes a new instance of the SpawnedRagdollEventArgs class.

public SpawnedRagdollEventArgs(Player player, Ragdoll ragdoll, RagdollData info, DamageHandlerBase damageHandlerBase)

Parameters

player Player
ragdoll Ragdoll
info RagdollData
damageHandlerBase DamageHandlerBase

Properties

CreationTime

Gets the ragdoll's creation time.

public double CreationTime { get; }

Property Value

double

DamageHandlerBase

Gets the ragdoll's PlayerStatsSystem.DamageHandlerBase.

public DamageHandlerBase DamageHandlerBase { get; }

Property Value

DamageHandlerBase

Info

Gets the ragdoll's PlayerRoles.Ragdolls.RagdollData.

public RagdollData Info { get; }

Property Value

RagdollData

Nickname

Gets the ragdoll's nickname.

public string Nickname { get; }

Property Value

string

Player

Gets the Owner of the ragdoll.

public Player Player { get; }

Property Value

Player

Position

Gets the ragdoll's position.

public Vector3 Position { get; }

Property Value

Vector3

Ragdoll

Gets the spawned Ragdoll.

public Ragdoll Ragdoll { get; }

Property Value

Ragdoll

Role

Gets the ragdoll's PlayerRoles.RoleTypeId.

public RoleTypeId Role { get; }

Property Value

RoleTypeId

Rotation

Gets the ragdoll's rotation.

public Quaternion Rotation { get; }

Property Value

Quaternion