Feature: VID
Аниса edited this page Sep 12, 2022
·
7 revisions
Vital's kit implements custom VID (Virtual-ID) to serialize entities w/ unique IDs which can be used for various identification purposes.
const string: vid = vKit.vid.create()
const bool: state = vKit.vid.blacklist(
string: vid
)
const string: vid = vKit.vid.fetch(
~: parent, // Entity which you prefer to serialize
string: assignVID, // (Optional): VID to assign incase if entity isn't serialized
bool: isReadOnly // (Optional): Boolean indicating whether its read/write access
)