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 04-06-2012, 03:24 PM by foxtacles (contribs). It may differ significantly from the current revision.
Retrieves the reference of an Object.

[top]Declaration

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

[top]Parameters

vaultmp::ID - the ID of the Object

[top]Return value

Returns a vaultmp::Reference containing the reference.

[top]Usage example (C++)

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