This site has been archived and made available for preservation purposes. No edits can be made.
GetType
(Difference between revisions)
Return to current revision
-
-
Returns the [wiki="Type"]vaultmp::Type[/wiki] of the given [wiki]ID[/wiki].
-
+
Returns the [wiki="Type"]Type[/wiki] of the given [wiki]ID[/wiki].
-
[h="2"] Declaration [/h]
[highlight=cpp]
-
-
VAULTSCRIPT vaultmp::Type (*GetType)(vaultmp::ID);
-
+
VAULTSCRIPT VAULTSPACE Type (*VAULTAPI(GetType))(VAULTSPACE ID) VAULTCPP(noexcept);
[/highlight]
[highlight=c]
-
native Type:GetType(ID);
[/highlight]
[h="2"] Parameters [/h]
-
-
[b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID
-
+
[b][wiki="ID"]ID[/wiki][/b] - the ID
-
[h="2"] Return value [/h]
-
-
Returns a [wiki="Type"]vaultmp::Type[/wiki].
-
+
Returns a [wiki="Type"]Type[/wiki].
-
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Game functions[/category]