Table of Contents

Class Site02KeycardPickup

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

Represents the Site-02 Custom Keycard.

public class Site02KeycardPickup : CustomKeycardPickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<KeycardPickup>, INameTagKeycard, ILabelKeycard, IWearKeycard
Inheritance
Site02KeycardPickup
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

NameTag

Gets or sets the name of the owner of this CustomKeycardItem.

public string NameTag { get; set; }

Property Value

string

Wear

Gets or sets the wear on this CustomKeycardItem.

public byte Wear { get; set; }

Property Value

byte

Remarks

Capped from 0-4 for Site-02 keycards, returns 255 if no wear level is found.

Methods

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

public static Site02KeycardPickup Create(KeycardLevels keycardLevels, Color permissionsColor, string itemName, Color color, string nameTag, string label, Color labelColor, byte wear)

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.

nameTag string

The name of the owner of the keycard.

label string

The label on the keycard.

labelColor Color

The color of the label on the keycard.

wear byte

How worn the keycard looks (capped from 0-5).

Returns

Site02KeycardPickup

The new Site02KeycardPickup.