Search Results for

    Show / Hide Table of Contents

    Class EatingScp330EventArgs

    Contains all information before a player eats SCP-330.

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

    Constructors

    | Improve this Doc View Source

    EatingScp330EventArgs(Player, ICandy, Boolean)

    Initializes a new instance of the EatingScp330EventArgs class.

    Declaration
    public EatingScp330EventArgs(Player player, ICandy candy, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player

    Player.

    InventorySystem.Items.Usables.Scp330.ICandy candy

    InventorySystem.Items.Usables.Scp330.ICandy.

    System.Boolean isAllowed

    IsAllowed.

    Properties

    | Improve this Doc View Source

    Candy

    Gets the InventorySystem.Items.Usables.Scp330.ICandy that is being eaten by the player.

    Declaration
    public ICandy Candy { get; }
    Property Value
    Type Description
    InventorySystem.Items.Usables.Scp330.ICandy
    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether or not the player can eat SCP-330.

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

    Player

    Gets the player who's eating SCP-330.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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