# Catalog Entry Class

Grammar — Catalog catalog entry entry class
FlagsNative | Function

Returns the scope (essentially, the type) of the specified entry in integer form. Use catalog lookup functions to retrieve a data value or other information from the game data.

# Arguments

  • int [ preset::CatalogType ] — Catalog
  • string [ catalogentry ] — Entry

Returns — int

native int CatalogEntryClass(int catalog, string entry);

Category: Catalog / Lookup

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L139
CatalogEntryClass(c_gameCatalogAbil, CatalogFieldValueGet(c_gameCatalogItem, lv_itemType, "Abil", UnitGetOwner(lv_otherUnit)))