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
(String
name
)
ListUnit
String
name
)Unit
String name |
The Japanese sub-name to search for |
List |
A list of units with the given sub-name |
Retrieves all units with the specified Japanese sub-name.
by
(Rarity
rare
)
ListUnit
Rarity
rare
)Unit
Rarity rare |
One or more rarities to filter by |
List |
A list of units matching the given rarities |
Retrieves all units with the specified rarities.
uniqueSubNames
()
SetString
String
Set |