We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
优先级不是很高。总体思路:
export type HqConfigKeys = "7.0" | "7.1" | "7.2" | "7.3" | "7.4" | "7.5" export interface HqConfigVal { available: boolean, jobs: { // 省略主副手/防具/首饰 Meal: number[][], Medicine: number[][] }, normalGathering: number[], reduceGathering: number[][], limitedGathering: number[], alkahests: number[], masterCrafting: number[], normalCrafting: number[], tradeShops: any[] } export HqConfig = (ParsedJson) as Record<HqConfigKeys, HqConfigVal>
export type HqConfigKeys = "7.0" | "7.1" | "7.2" | "7.3" | "7.4" | "7.5" export interface HqConfigVal { available: boolean, jobs: { // 省略主副手/防具/首饰 }, meals: number[][], medicines: number[][], reduceGathering: number[][], alkahests: number[], tradeShops: any[] } export interface HqConfigGeneral { normalGathering: number[], // 也可以直接删除,已经不需要了 limitedGathering: number[], // 也可以直接删除,已经不需要了 masterCrafting: number[], normalCrafting: number[], } export HqConfig = (ParsedJson) as { general: HqConfigGeneral, [keys: HqConfigKeys]: HqConfigVal }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
优先级不是很高。总体思路:
原结构
新结构
The text was updated successfully, but these errors were encountered: