Skip to content

ResourceResolver

Shared - used by classes in Teamfight Tactics, Map and environment, Characters and skins, Items, Game modes and Loadouts, catalog and store.

Inheritance 2 ancestors · 1 sibling

Class Documentation

Edit documentation

A lookup table from a name hash to a resource. Its resourceMap maps a key, the FNV-1a hash of a lowercased name, to a linked resource object. In shipped data the keys are skin-independent effect names that spells and scripts ask for, and the values are the skin's own VfxSystemDefinitionData objects. Each skin ships its own resolver, so the same effect name gives different art per skin.

A skin links its resolver in SkinCharacterDataProperties.mResourceResolver. When the client loads the skin, it loads every resource the resolver links that is not loaded yet. Each resource is loaded only once, however many resolvers link it.

A key that is in the map with an empty link still counts as found: the lookup succeeds and returns no resource. A key that is not in the map is not found.

Examples:
  • "Aatrox_W_mis" = "Characters/Aatrox/Skins/Skin37/Particles/Aatrox_Skin37_W_mis"

Referenced by 15 classes · 17 properties