Walhalla

walhalla.data

Database

Manages the collection and storage of Unit data.

This class loads, builds, and stores unit data from external sources such as the Aigis Wiki. It provides methods to retrieve units by name or rarity, and ensures the unit database is up-to-date.

build()void

Builds the unit list by parsing data from the Aigis Wiki and other sources. Updates the internal list and sorts units by ID.

locate()Path

Path

Returns the path to the unit database file.

searchByName(Stringname)ListUnit

Stringname

The Japanese sub-name to search for

ListUnit

A list of units with the given sub-name

Retrieves all units with the specified Japanese sub-name.

by(Rarityrare)ListUnit

Rarityrare

One or more rarities to filter by

ListUnit

A list of units matching the given rarities

Retrieves all units with the specified rarities.

uniqueSubNames()SetString

SetString