Class ReferenceButton
Constants shared by every UI element that carries a reference to an inventory item, equipped item, bank item or ability.
public static class ReferenceButton
- Inheritance
-
ReferenceButton
- Inherited Members
Remarks
NULL_REFERENCE_ID used to be a const on the uGUI UIReferenceButton
component. The UI Toolkit slots are plain VisualElements with no such base class to
inherit it from, and six panels compare against it, so it lives here — beside the enum it
is always used with, and outside the uGUI tree.
Fields
NULL_REFERENCE_ID
Reference ID meaning "this slot is empty".
public const long NULL_REFERENCE_ID = -1
Field Value
Remarks
Zero is a legitimate database ID, so the empty sentinel has to be negative.