Class SpawningRagdollEventArgs
Contains all information before spawning a player ragdoll.
public class SpawningRagdollEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
SpawningRagdollEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
SpawningRagdollEventArgs(RagdollData, bool)
Initializes a new instance of the SpawningRagdollEventArgs class.
public SpawningRagdollEventArgs(RagdollData info, bool isAllowed = true)
Parameters
info
RagdollDataisAllowed
bool
Properties
CreationTime
Gets the ragdoll's creation time.
public double CreationTime { get; }
Property Value
DamageHandlerBase
Gets or sets the ragdoll's PlayerStatsSystem.DamageHandlerBase.
public DamageHandlerBase DamageHandlerBase { get; set; }
Property Value
- DamageHandlerBase
Info
Gets or sets the ragdoll's PlayerRoles.Ragdolls.RagdollData.
public RagdollData Info { get; set; }
Property Value
- RagdollData
IsAllowed
Gets or sets a value indicating whether the ragdoll can be spawned.
public bool IsAllowed { get; set; }
Property Value
Nickname
Gets or sets the ragdoll's nickname.
public string Nickname { get; set; }
Property Value
Player
Gets the Owner of the ragdoll.
public Player Player { get; }
Property Value
Position
Gets or sets the spawning position of the ragdoll.
public Vector3 Position { get; set; }
Property Value
- Vector3
Role
Gets or sets the ragdoll's PlayerRoles.RoleTypeId.
public RoleTypeId Role { get; set; }
Property Value
- RoleTypeId
Rotation
Gets or sets the ragdoll's rotation.
public Quaternion Rotation { get; set; }
Property Value
- Quaternion
Scale
Gets or sets the ragdoll's scale.
public Vector3 Scale { get; set; }
Property Value
- Vector3