Class ConsumedCorpseEventArgs
Contains all information after zombie consumes RagDolls.
public class ConsumedCorpseEventArgs : IScp0492Event, IPlayerEvent, IRagdollEvent, IExiledEvent
- Inheritance
-
ConsumedCorpseEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ConsumedCorpseEventArgs(ReferenceHub, BasicRagdoll)
Initializes a new instance of the ConsumedCorpseEventArgs class.
public ConsumedCorpseEventArgs(ReferenceHub player, BasicRagdoll ragDoll)
Parameters
player
ReferenceHubragDoll
BasicRagdoll
Remarks
See PlayerRoles.PlayableScps.Scp049.Zombies.ZombieConsumeAbility.ConsumedRagdolls for all RagDolls consumed.
Properties
ConsumeHeal
Gets or sets a value about how mush heath the Zombie will get.
public float ConsumeHeal { get; set; }
Property Value
Player
Gets the player who is controlling SCP-049-2.
public Player Player { get; }
Property Value
Ragdoll
Gets the RagDoll to be consumed.
public Ragdoll Ragdoll { get; }
Property Value
Scp0492
Gets the Scp0492Role triggering the event.
public Scp0492Role Scp0492 { get; }