generated from nhcarrigan/template
feat: add sync new content debug tool
Adds a new debug panel button that injects any adventurers, quests, bosses, equipment, upgrades, achievements, zones, and exploration areas that exist in the current game data but are missing from an existing player save (e.g. content added after the save was first created).
This commit is contained in:
@@ -72,6 +72,7 @@ export type {
|
||||
PublicProfileResponse,
|
||||
SaveRequest,
|
||||
SaveResponse,
|
||||
SyncNewContentResponse,
|
||||
TranscendenceRequest,
|
||||
TranscendenceResponse,
|
||||
UpdateProfileRequest,
|
||||
|
||||
@@ -451,6 +451,59 @@ interface ForceUnlocksResponse {
|
||||
signature?: string;
|
||||
}
|
||||
|
||||
interface SyncNewContentResponse {
|
||||
|
||||
/**
|
||||
* The updated game state after injecting all missing content entries.
|
||||
*/
|
||||
state: GameState;
|
||||
|
||||
/**
|
||||
* Number of adventurer tiers added to the save.
|
||||
*/
|
||||
adventurersAdded: number;
|
||||
|
||||
/**
|
||||
* Number of upgrades added to the save.
|
||||
*/
|
||||
upgradesAdded: number;
|
||||
|
||||
/**
|
||||
* Number of quests added to the save.
|
||||
*/
|
||||
questsAdded: number;
|
||||
|
||||
/**
|
||||
* Number of bosses added to the save.
|
||||
*/
|
||||
bossesAdded: number;
|
||||
|
||||
/**
|
||||
* Number of equipment items added to the save.
|
||||
*/
|
||||
equipmentAdded: number;
|
||||
|
||||
/**
|
||||
* Number of achievements added to the save.
|
||||
*/
|
||||
achievementsAdded: number;
|
||||
|
||||
/**
|
||||
* Number of zones added to the save.
|
||||
*/
|
||||
zonesAdded: number;
|
||||
|
||||
/**
|
||||
* Number of exploration areas added to the save.
|
||||
*/
|
||||
explorationAreasAdded: number;
|
||||
|
||||
/**
|
||||
* HMAC-SHA256 signature of the updated state for anti-cheat chain continuity.
|
||||
*/
|
||||
signature?: string;
|
||||
}
|
||||
|
||||
export type {
|
||||
AboutResponse,
|
||||
ApiError,
|
||||
@@ -482,6 +535,7 @@ export type {
|
||||
PublicProfileResponse,
|
||||
SaveRequest,
|
||||
SaveResponse,
|
||||
SyncNewContentResponse,
|
||||
TranscendenceRequest,
|
||||
TranscendenceResponse,
|
||||
UpdateProfileRequest,
|
||||
|
||||
Reference in New Issue
Block a user