maplestory-openapi
Version:
This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.
45 lines (41 loc) • 1.5 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
/**
* 캐릭터 링 익스체인지 스킬 등록 장비 정보
*/
class CharacterRingExchangeSkillEquipmentDto {
/**
* 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기)
*/
date;
/**
* 캐릭터 직업
*/
characterClass;
/**
* 링 익스체인지에 등록된 특수 반지
*/
specialRingExchangeName;
/**
* 링 익스체인지에 등록된 특수 반지 레벨
*/
specialRingExchangeLevel;
/**
* 링 익스체인지에 등록된 특수 반지 아이콘
*/
specialRingExchangeIcon;
/**
* 링 익스체인지에 등록된 특수 반지 설명
*/
specialRingExchangeDescription;
constructor(obj) {
const { date, character_class, special_ring_exchange_name, special_ring_exchange_level, special_ring_exchange_icon, special_ring_exchange_description } = 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;
this.specialRingExchangeIcon = special_ring_exchange_icon ?? null;
this.specialRingExchangeDescription = special_ring_exchange_description ?? null;
}
}
exports.CharacterRingExchangeSkillEquipmentDto = CharacterRingExchangeSkillEquipmentDto;