Search Results for

    Show / Hide Table of Contents

    Class Keycard

    A wrapper class for InventorySystem.Items.Keycards.KeycardItem.

    Inheritance
    System.Object
    TypeCastObject<Item>
    Item
    Keycard
    Implements
    IWrapper<InventorySystem.Items.ItemBase>
    IWrapper<InventorySystem.Items.Keycards.KeycardItem>
    Inherited Members
    Item.List
    Item.Serial
    Item.IsInInventory
    Item.Scale
    Item.Type
    Item.Category
    Item.TierFlags
    Item.Weight
    Item.IsAmmo
    Item.IsArmor
    Item.IsKeycard
    Item.IsConsumable
    Item.IsThrowable
    Item.IsUsable
    Item.IsWeapon
    Item.IsLightEmitter
    Item.IsDisarmer
    Item.Owner
    Item.Get(ItemBase)
    Item.Get(UInt16)
    Item.Create(ItemType, Player)
    Item.Give(Player)
    Item.Destroy()
    Item.CreatePickup(Vector3, Quaternion, Boolean)
    Item.ChangeItemOwner(Player, Player)
    TypeCastObject<Item>.Cast<TObject>()
    TypeCastObject<Item>.Cast<TObject>(TObject)
    TypeCastObject<Item>.As<TObject>()
    TypeCastObject<Item>.Is<TObject>(TObject)
    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.API.Features.Items
    Assembly: Exiled.API.dll
    Syntax
    public class Keycard : Item, IWrapper<ItemBase>, IWrapper<KeycardItem>

    Constructors

    | Improve this Doc View Source

    Keycard(KeycardItem)

    Initializes a new instance of the Keycard class.

    Declaration
    public Keycard(KeycardItem itemBase)
    Parameters
    Type Name Description
    InventorySystem.Items.Keycards.KeycardItem itemBase

    The base InventorySystem.Items.Keycards.KeycardItem class.

    Properties

    | Improve this Doc View Source

    Base

    Gets the InventorySystem.Items.Keycards.KeycardItem that this class is encapsulating.

    Declaration
    public KeycardItem Base { get; }
    Property Value
    Type Description
    InventorySystem.Items.Keycards.KeycardItem
    | Improve this Doc View Source

    Permissions

    Gets or sets the KeycardPermissions of the keycard.

    Declaration
    public KeycardPermissions Permissions { get; set; }
    Property Value
    Type Description
    KeycardPermissions

    Methods

    | Improve this Doc View Source

    Clone()

    Clones current Keycard object.

    Declaration
    public override Item Clone()
    Returns
    Type Description
    Item

    New Keycard object.

    Overrides
    Item.Clone()
    | Improve this Doc View Source

    ToString()

    Returns the Keycard in a human readable format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string containing Keycard-related data.

    Overrides
    Item.ToString()

    Implements

    IWrapper<T>
    IWrapper<T>

    Extension Methods

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