Hero IDsยถ

Hero IDs appear in Demo.players, Demo.player_ticks, and event datasets. Resolve them with the selected boon-data catalog instead of a fixed table:

from boon import hero_names

names = hero_names()                 # newest local catalog, or automatic download
historical = hero_names("6712")      # explicit Deadlock client version
for hero_id, name in sorted(names.items()):
    print(hero_id, name)

The catalogโ€™s hero_id comes from the hero definitionโ€™s m_HeroID. Names use English localization when available and internal names otherwise. Templates without a hero ID are not included. Some catalog heroes are not available in the game. Unknown IDs have no mapping in that snapshot.

Names and available heroes can change between client versions. See Game data downloads for version selection, downloads, and offline use.