maplestory-openapi
Version:
This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.
31 lines (29 loc) • 939 B
JavaScript
/**
* 캐릭터 링 익스체인지 스킬 등록 장비 정보
*/
class CharacterRingExchangeSkillEquipmentDto {
/**
* 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기)
*/
date;
/**
* 캐릭터 직업
*/
characterClass;
/**
* 링 익스체인지에 등록된 특수 반지
*/
specialRingExchangeName;
/**
* 링 익스체인지에 등록된 특수 반지 레벨
*/
specialRingExchangeLevel;
constructor(obj) {
const { date, character_class, special_ring_exchange_name, special_ring_exchange_level } = obj;
this.date = date ? new Date(date) : null;
this.characterClass = character_class ?? '';
this.specialRingExchangeName = special_ring_exchange_name ?? null;
this.specialRingExchangeLevel = special_ring_exchange_level ?? null;
}
}
export { CharacterRingExchangeSkillEquipmentDto };