Search Results for

    Show / Hide Table of Contents

    Class UpgradingInventoryItemEventArgs

    Contains all information before SCP-914 upgrades an item.

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

    Constructors

    | Improve this Doc View Source

    UpgradingInventoryItemEventArgs(Player, ItemBase, Scp914KnobSetting, Boolean)

    Initializes a new instance of the UpgradingInventoryItemEventArgs class.

    Declaration
    public UpgradingInventoryItemEventArgs(Player player, ItemBase item, Scp914KnobSetting knobSetting, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player
    InventorySystem.Items.ItemBase item
    Scp914.Scp914KnobSetting knobSetting
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether or not the upgrade is successful.

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

    Item

    Gets a list of items to be upgraded inside SCP-914.

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

    KnobSetting

    Gets or sets SCP-914 working knob setting.

    Declaration
    public Scp914KnobSetting KnobSetting { get; set; }
    Property Value
    Type Description
    Scp914.Scp914KnobSetting
    | Improve this Doc View Source

    Player

    Gets the Player who owns the item to be upgraded.

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

    Scp914

    Gets the Scp914.Scp914Controller instance.

    Declaration
    [Obsolete("Use Scp914::Scp914Controller instead.")]
    public Scp914Controller Scp914 { get; }
    Property Value
    Type Description
    Scp914.Scp914Controller

    Implements

    IPlayerEvent
    IItemEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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