๐Ÿ”ŽAssetsFinder

AssetsFinder - a class that helps to find assets and localization that are used inside EnkaNetwork

You can access characters, namecards, costumes, weapons, reliquaries, reliquarySets, constellations and skills

They allow you to find what you need in assets and its localization

How to use?

When referring to something, look at the hints. Usually, they can be used to find data about an entity using getById() and the name of this entity in your chosen localization using getName()

When searching for characters, it is recommended to use two parameters at once, if possible. Since due to the characteristics of the travelers, you will not get his elements without specifying a skillDepotId

Examples

Getting data for character ยซRaiden Shogunยป by his id

enka.assets.characters.getById(10000052);

and get their name

Language in getName() is required!

const character = enka.assets.characters.getById(10000052);

enka.assets.characters.getName(character, "RU"); // ะ ะฐะนะดัะฝ
enka.assets.characters.getById(10000007); // First in list Anemo Lumine
enka.assets.characters.getById(10000007, 704); // Anemo Lumine
// Where is 705??
enka.assets.characters.getById(10000007, 706); // Geo Lumine
enka.assets.characters.getById(10000007, 707); // Electro Lumine
enka.assets.characters.getById(10000007, 708); // Dendro Lumine
const costume = enka.assets.costumes.getById(200201);

enka.assets.costumes.getName(costume, "EN"); // Springbloom Missive

and etc

Last updated