UNPKG

maplestory-openapi

Version:

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

53 lines (48 loc) 1.32 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var characterPropensity = require('../../../common/dto/character/characterPropensity.js'); /** * 캐릭터 성향 정보 */ class CharacterPropensityDto extends characterPropensity.CharacterPropensityDto { /** * 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기) */ date; /** * 카리스마 레벨 */ charismaLevel; /** * 감성 레벨 */ sensibilityLevel; /** * 통찰력 레벨 */ insightLevel; /** * 의지 레벨 */ willingnessLevel; /** * 손재주 레벨 */ handicraftLevel; /** * 매력 레벨 */ charmLevel; constructor(obj) { super(); const { date, charisma_level, sensibility_level, insight_level, willingness_level, handicraft_level, charm_level, } = obj; this.date = date ? new Date(date) : null; this.charismaLevel = charisma_level; this.sensibilityLevel = sensibility_level; this.insightLevel = insight_level; this.willingnessLevel = willingness_level; this.handicraftLevel = handicraft_level; this.charmLevel = charm_level; } } exports.CharacterPropensityDto = CharacterPropensityDto;