This site has been archived and made available for preservation purposes. No edits can be made.

GetReference

(Difference between revisions)
Return to current revision
  1. -
    Retrieves the reference of an [[Object]].

    == Declaration ==
    <code cpp>
    VAULTSCRIPT vaultmp::Reference (*GetReference)(vaultmp::ID);
    native GetReference(ID);
    </code>
    == Parameters ==

    '''[[ID|vaultmp::ID]]''' - the ID of the [[Object]]

    == Return value ==

    Returns a [[Reference|vaultmp::Reference]] containing the reference.

    == Usage example (C++) ==

    <code cpp>
    vaultmp::Reference refID;
    refID = GetReference(object);
    </code>