Search Results for

    Show / Hide Table of Contents

    Class ConsumingCorpseEventArgs

    Contains all information before zombie consumes a ragdoll.

    Inheritance
    System.Object
    ConsumingCorpseEventArgs
    Implements
    IScp0492Event
    IPlayerEvent
    IRagdollEvent
    IDeniableEvent
    IExiledEvent
    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.Scp0492
    Assembly: Exiled.Events.dll
    Syntax
    public class ConsumingCorpseEventArgs : IScp0492Event, IPlayerEvent, IRagdollEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    ConsumingCorpseEventArgs(ReferenceHub, BasicRagdoll, ZombieConsumeAbility.ConsumeError, Boolean)

    Initializes a new instance of the ConsumingCorpseEventArgs class.

    Declaration
    public ConsumingCorpseEventArgs(ReferenceHub player, BasicRagdoll ragDoll, ZombieConsumeAbility.ConsumeError error, bool isAllowed = true)
    Parameters
    Type Name Description
    ReferenceHub player
    PlayerRoles.Ragdolls.BasicRagdoll ragDoll
    PlayerRoles.PlayableScps.Scp049.Zombies.ZombieConsumeAbility.ConsumeError error
    System.Boolean isAllowed
    Remarks

    See PlayerRoles.PlayableScps.Scp049.Zombies.ZombieConsumeAbility.ConsumedRagdolls for all ragdolls consumed.

    Properties

    | Improve this Doc View Source

    ErrorCode

    Gets or sets error code to send back to client.

    Declaration
    public ZombieConsumeAbility.ConsumeError ErrorCode { get; set; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp049.Zombies.ZombieConsumeAbility.ConsumeError
    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether 049-2 can consume a corpse.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Player

    Gets the player who is controlling SCP-049-2.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    Ragdoll

    Gets the ragdoll to be consumed.

    Declaration
    public Ragdoll Ragdoll { get; }
    Property Value
    Type Description
    Ragdoll
    | Improve this Doc View Source

    Scp0492

    Declaration
    public Scp0492Role Scp0492 { get; }
    Property Value
    Type Description
    Scp0492Role

    Implements

    IScp0492Event
    IPlayerEvent
    IRagdollEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX