Class SpawnedRagdollEventArgs
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
Properties
CreationTime
Gets the ragdoll's creation time.
public double CreationTime { get; }
Property Value
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
Player
Gets the Owner of the ragdoll.
public Player Player { get; }
Property Value
Position
Gets the ragdoll's position.
public Vector3 Position { get; }
Property Value
- Vector3
Ragdoll
Gets the spawned Ragdoll.
public Ragdoll Ragdoll { get; }
Property Value
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