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

GetReference

This is an old revision of this page, as edited 09-29-2011, 06:27 PM by . It may differ significantly from the current revision.
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>