UNPKG

maplestory-openapi

Version:

This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.

24 lines (21 loc) 614 B
import { CharacterPopularityDto as CharacterPopularityDto$1 } from '../../../common/dto/character/characterPopularity.js'; /** * 캐릭터 인기도 정보 */ class CharacterPopularityDto extends CharacterPopularityDto$1 { /** * 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기) */ date; /** * 캐릭터 인기도 */ popularity; constructor(obj) { super(); const { date, popularity } = obj; this.date = date ? new Date(date) : null; this.popularity = popularity; } } export { CharacterPopularityDto };