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

GetCount

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