Class SpawnedRagdollEventArgs
Contains all information after spawning a player ragdoll.
Inheritance
System.Object
SpawnedRagdollEventArgs
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 SpawnedRagdollEventArgs : IPlayerEvent, IExiledEvent
Constructors
| Improve this Doc View SourceSpawnedRagdollEventArgs(Player, Ragdoll, RagdollData, DamageHandlerBase)
Initializes a new instance of the SpawnedRagdollEventArgs class.
Declaration
public SpawnedRagdollEventArgs(Player player, Ragdoll ragdoll, RagdollData info, DamageHandlerBase damageHandlerBase)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Ragdoll | ragdoll | |
PlayerRoles.Ragdolls.RagdollData | info | |
PlayerStatsSystem.DamageHandlerBase | damageHandlerBase |
Properties
| Improve this Doc View SourceCreationTime
Gets the ragdoll's creation time.
Declaration
public double CreationTime { get; }
Property Value
Type | Description |
---|---|
System.Double |
DamageHandlerBase
Gets the ragdoll's PlayerStatsSystem.DamageHandlerBase.
Declaration
public DamageHandlerBase DamageHandlerBase { get; }
Property Value
Type | Description |
---|---|
PlayerStatsSystem.DamageHandlerBase |
Info
Gets the ragdoll's PlayerRoles.Ragdolls.RagdollData.
Declaration
public RagdollData Info { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.Ragdolls.RagdollData |
Nickname
Gets the ragdoll's nickname.
Declaration
public string Nickname { get; }
Property Value
Type | Description |
---|---|
System.String |
Player
Gets the Owner of the ragdoll.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Position
Gets the ragdoll's position.
Declaration
public Vector3 Position { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Ragdoll
Gets the spawned Ragdoll.
Declaration
public Ragdoll Ragdoll { get; }
Property Value
Type | Description |
---|---|
Ragdoll |
Role
Gets the ragdoll's PlayerRoles.RoleTypeId.
Declaration
public RoleTypeId Role { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.RoleTypeId |
Rotation
Gets the ragdoll's rotation.
Declaration
public Quaternion Rotation { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Quaternion |