Table of Contents

Class ManagementKeycardPickup

Namespace
Exiled.API.Features.Pickups.Keycards
Assembly
Exiled.API.dll

Represents the Management Custom Keycard.

public class ManagementKeycardPickup : CustomKeycardPickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<KeycardPickup>, ILabelKeycard
Inheritance
ManagementKeycardPickup
Implements
IWrapper<ItemPickupBase>
IWrapper<KeycardPickup>
Inherited Members
Extension Methods

Properties

Label

Gets or sets the label of this CustomKeycardItem.

public string Label { get; set; }

Property Value

string

LabelColor

Gets or sets the UnityEngine.Color of this CustomKeycardItem.

public Color LabelColor { get; set; }

Property Value

Color

Methods

Create(KeycardLevels, Color, string, Color, string, Color)

Creates an UnSpawned ManagementKeycardPickup, to spawn the pickup, call Spawn(Vector3, Quaternion?, Player) on the returned instance.

public static ManagementKeycardPickup Create(KeycardLevels keycardLevels, Color permissionsColor, string itemName, Color color, string label, Color labelColor)

Parameters

keycardLevels KeycardLevels

The permissions of the keycard.

permissionsColor Color

The color of the permissions of the keycard.

itemName string

The inventory name of the keycard.

color Color

The color of the keycard.

label string

The label on the keycard.

labelColor Color

The color of the label on the keycard.

Returns

ManagementKeycardPickup

The new ManagementKeycardPickup.