UNPKG

maplestory-openapi

Version:

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

37 lines (35 loc) 855 B
/** * 연무장 리플레이 식별자 목록 */ class BattlePracticeReplayIdDto { /** * 리플레이 목록 */ replayList; constructor(obj) { this.replayList = obj.replay_list.map((r) => new BattlePracticeReplayIdInfoDto(r)); } } /** * 연무장 리플레이 식별자 상세 정보 */ class BattlePracticeReplayIdInfoDto { /** * 기간 번호 (연무장 초기화 시마다 1씩 증가됩니다.) */ periodNo; /** * 리플레이 등록 일시 (KST) */ registerDate; /** * 연무장 리플레이 고유 식별자 */ replayId; constructor(obj) { this.periodNo = obj.period_no; this.registerDate = new Date(obj.register_date); this.replayId = obj.replay_id; } } export { BattlePracticeReplayIdDto, BattlePracticeReplayIdInfoDto };