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

GetType

(Difference between revisions)
Return to current revision
  1. -
    Returns the [wiki="Type"]vaultmp::Type[/wiki] of the given [wiki]ID[/wiki].
  2. +
    Returns the [wiki="Type"]Type[/wiki] of the given [wiki]ID[/wiki].
  3.  
    [h="2"] Declaration [/h]
    [highlight=cpp]
  4. -
    VAULTSCRIPT vaultmp::Type (*GetType)(vaultmp::ID);
  5. +
    VAULTSCRIPT VAULTSPACE Type (*VAULTAPI(GetType))(VAULTSPACE ID) VAULTCPP(noexcept);
    [/highlight]
    [highlight=c]
  6.  
    native Type:GetType(ID);
    [/highlight]
    [h="2"] Parameters [/h]
  7. -
    [b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID
  8. +
    [b][wiki="ID"]ID[/wiki][/b] - the ID
  9.  
    [h="2"] Return value [/h]
  10. -
    Returns a [wiki="Type"]vaultmp::Type[/wiki].
  11. +
    Returns a [wiki="Type"]Type[/wiki].
  12.  
    [category]VaultMP interface[/category]
    [category]Scripting functions[/category]
    [category]Game functions[/category]