# Catalog Entry Is Default

Grammar — Catalog catalog entry entry is a default entry
FlagsNative | Function

Returns true if the specified catalog entry is a default entry. 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 — bool

native bool CatalogEntryIsDefault(
	int catalog,
	string entry,
);

Category: Catalog / Lookup

# Examples

# mods/heroesdata.stormmod

GameLib.galaxy

// L18147
CatalogEntryIsDefault(c_gameCatalogVoiceOver, lv_voiceLine)
// L18155
CatalogEntryIsDefault(c_gameCatalogSound, lv_sound)
// L18156
CatalogEntryIsDefault(c_gameCatalogSound, lv_soundWithSuffix)

# mods/heroesdata.stormmod

UILib.galaxy

// L2363
CatalogEntryIsDefault(c_gameCatalogSound, lv_entry)
// L2401
CatalogEntryIsDefault(c_gameCatalogSound, lv_soundID)

# mods/missionpacks/novacampaign.sc2mod

LibNCMI.galaxy

// L3233
CatalogEntryIsDefault(c_gameCatalogMover, lp_mover)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L5188
CatalogEntryIsDefault(lv_catalog, lv_entry)