UNPKG

dnf-api

Version:
99 lines (91 loc) 2.14 kB
import type { staticUtil } from "../util"; import type { INameValue } from "./"; /** 캐릭터 정보 인터페이스 */ export interface ICharacter { serverId: staticUtil.server; characterId: string; characterName: string; level: number; jobId: string; jobGrowId: string; jobName: string; jobGrowName: string; fame: number; } /** 캐릭터 상세 정보 인터페이스 */ export interface IInfo { serverId: staticUtil.server; characterId: string; characterName: string; level: number; jobId: string; jobGrowId: string; jobName: string; jobGrowName: string; fame: number; adventureName: string; guildId: string | null; guildName: string | null; } /** 캐릭터 타임라인 인터페이스 */ export interface ITimeline { serverId: staticUtil.server; characterId: string; characterName: string; level: number; jobId: string; jobGrowId: string; jobName: string; jobGrowName: string; adventureName: string; guildId: string; guildName: string; timeline: { date: { start: Date; end: Date; }; next: string; rows: ITimeLineRow[]; }; } /** 타임라인 행 인터페이스 */ export interface ITimeLineRow { code: number; name: string; date: string; data: ITimeLineRowData; } /** 타임라인 행 데이터 인터페이스 */ export interface ITimeLineRowData { itemId: string; itemName: string; itemRarity: staticUtil.rarity; channelName: string; channelNo: number; dungeonName: string; mistGear: boolean; } /** 캐릭터 상태 인터페이스 */ export interface ICharacterStatus { serverId: staticUtil.server; characterId: string; characterName: string; level: number; jobId: string; jobGrowId: string; jobName: string; jobGrowName: string; fame: number; adventureName: string; guildId: string | null; guildName: string | null; buff: IBuff[]; status: INameValue[]; } /** 버프 정보 인터페이스 */ export interface IBuff { name: string; level?: number; status: INameValue[]; }