genshin-manager
Version:
<div align="center"> <p> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https://img.shields.io/npm/v/genshin-manager.svg?maxAge=3600" alt="npm version" /></a> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https:
61 lines (60 loc) • 1.51 kB
TypeScript
import { CharacterInfo } from '../models/character/CharacterInfo';
/**
* Domain data
*/
export interface DomainData {
/**
* Domain name
*/
readonly name: string;
/**
* Domain description
*/
readonly description: string;
/**
* Reward Item IDs (material IDs)
*/
readonly materialIds: number[];
/**
* CharacterInfos to use Reward Item.
*/
readonly characterInfos: CharacterInfo[];
/**
* Weapon ID to use Reward Item.
*/
readonly weaponIds: number[];
}
/**
* Class of materials available on specified days of the week
*/
export declare class DailyFarming {
/**
* Map of dungeon entry ID and text map ID
*/
private static readonly replaceTextMapIdMap;
/**
* Day-of-week (0-6)
* @description 0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday
*/
readonly dayOfWeek: number;
/**
* Talent book IDs (Material IDs)
*/
readonly talentBookIds: number[];
/**
* Weapon material IDs (Material IDs)
*/
readonly weaponMaterialIds: number[];
/**
* Domains
*/
readonly domains: DomainData[];
/**
* Create a DailyFarming
* @description 0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday
* @param dayOfWeek day-of-week (0-6)
*/
constructor(dayOfWeek: number);
private getCharacterInfoByMaterialIds;
private getWeaponIdsByMaterialIds;
}