maplestory-openapi
Version:
This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.
48 lines (43 loc) • 1.14 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var union = require('../../../common/dto/union/union.js');
/**
* 유니온 정보
*/
class UnionDto extends union.UnionDto {
/**
* 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기)
*/
date;
/**
* 유니온 레벨
*/
unionLevel;
/**
* 유니온 등급
*/
unionGrade;
/**
* 아티팩트 레벨
*/
unionArtifactLevel;
/**
* 보유 아티팩트 경험치
*/
unionArtifactExp;
/**
* 보유 아티팩트 포인트
*/
unionArtifactPoint;
constructor(obj) {
super();
const { date, union_level, union_grade, union_artifact_level, union_artifact_exp, union_artifact_point, } = obj;
this.date = date ? new Date(date) : null;
this.unionLevel = union_level;
this.unionGrade = union_grade;
this.unionArtifactLevel = union_artifact_level;
this.unionArtifactExp = union_artifact_exp;
this.unionArtifactPoint = union_artifact_point;
}
}
exports.UnionDto = UnionDto;