Class Site02KeycardPickup
Represents the Site-02 Custom Keycard.
public class Site02KeycardPickup : CustomKeycardPickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<KeycardPickup>, INameTagKeycard, ILabelKeycard, IWearKeycard
- Inheritance
-
Site02KeycardPickup
- Inherited Members
- Extension Methods
Properties
Label
Gets or sets the label of this CustomKeycardItem.
public string Label { get; set; }
Property Value
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
Wear
Gets or sets the wear on this CustomKeycardItem.
public byte Wear { get; set; }
Property Value
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)
Creates a Site02KeycardPickup.
public static Site02KeycardPickup Create(KeycardLevels keycardLevels, Color permissionsColor, string itemName, Color color, string nameTag, string label, Color labelColor, byte wear)
Parameters
keycardLevelsKeycardLevelsThe permissions of the keycard.
permissionsColorColorThe color of the permissions of the keycard.
itemNamestringThe inventory name of the keycard.
colorColorThe color of the keycard.
nameTagstringThe name of the owner of the keycard.
labelstringThe label on the keycard.
labelColorColorThe color of the label on the keycard.
wearbyteHow worn the keycard looks (capped from 0-5).
Returns
- Site02KeycardPickup
The new Site02KeycardPickup.