import{_ as e}from"./plugin-vue_export-helper-x3n3nnut.js";import{o as i,c as a,e as t}from"./app-DLdAQsjV.js";const r={},s=t('
Snap Hutao's Gacha system underwent an overhaul compared to Snap Genshin, experiencing a complete architectural redesign.
This article will explain the Genshin's wish logging mechanism and the technical principles behind the Gacha export feature in the Hutao Toolbox.
Acquiring wish records requires querying miHoYo's API.
Regarding this API, there are a few key points to note:
To request this API, we need four crucial parameters.
Upon requesting the API, you receive fragmented wish records. Concatenating them provides a complete wish record list.
After obtaining the complete wish record list, you can easily serialize it into a local database. When necessary, deserialization from the database presents it to the user.
Subsequent requests to the server only need to compare new data requests against the database's existing data.
This way, users can permanently store their account's complete wish records.
Unified Interchangeable GachaLog Format
UIGF is a unified wish record data exchange standard, advocated, launched, and persistently maintained by us in collaboration with other wish record applications.
Standardized data formats enable users to transfer wish records between different tools for Genshin, each leveraging its distinctive functionalities.
When utilizing the UIGF data format, you can import data previously stored in other applications.
Hutao, during import handling, compares the earliest index (ID) existing in local storage and only imports older data.
(This is because newer data of higher precision is always available from miHoYo's servers.)
Not yet implemented; under design Already implemented