UNPKG

maplestory-openapi

Version:

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

49 lines (46 loc) 1.21 kB
import { CharacterPropensityDto as CharacterPropensityDto$1 } from '../../../common/dto/character/characterPropensity.js'; /** * 角色性向資訊 */ class CharacterPropensityDto extends CharacterPropensityDto$1 { /** * 要搜尋的日期 (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; } } export { CharacterPropensityDto };