UNPKG

maplestory-openapi

Version:

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

53 lines (48 loc) 1.3 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var characterPropensity = require('../../../common/dto/character/characterPropensity.js'); /** * 角色性向資訊 */ class CharacterPropensityDto extends characterPropensity.CharacterPropensityDto { /** * 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 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;