Table of Contents

Class Keycard

Namespace
Exiled.API.Features.Items
Assembly
Exiled.API.dll

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

public class Keycard : Item, IWrapper<ItemBase>, IWrapper<KeycardItem>
Inheritance
Keycard
Implements
IWrapper<ItemBase>
IWrapper<KeycardItem>
Derived
Inherited Members
Extension Methods

Constructors

Keycard(KeycardItem)

Initializes a new instance of the Keycard class.

public Keycard(KeycardItem itemBase)

Parameters

itemBase KeycardItem

The base InventorySystem.Items.Keycards.KeycardItem class.

Properties

Base

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

public KeycardItem Base { get; }

Property Value

KeycardItem

Permissions

Gets or sets the KeycardPermissions of the keycard.

public virtual KeycardPermissions Permissions { get; set; }

Property Value

KeycardPermissions

Methods

ToString()

Returns the Keycard in a human readable format.

public override string ToString()

Returns

string

A string containing Keycard-related data.