UNPKG

maplestory-openapi

Version:

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

82 lines (77 loc) 1.75 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var characterImage = require('../../../common/dto/character/characterImage.js'); /** * 캐릭터 외형 이미지 정보 */ class CharacterImageDto extends characterImage.CharacterImageDto { /** * 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기) */ date; /** * 캐릭터 외형 이미지 원본 (URL) */ originUrl; /** * 캐릭터 외형 기본 이미지 (base64) */ originImage; /** * 캐릭터 외형 이미지 (base64) */ image; /** * 캐릭터 액션 */ action; /** * 캐릭터 감정표현 */ emotion; /** * 캐릭터 무기 모션 */ wmotion; /** * 캐릭터 액션 프레임 */ actionFrame; /** * 캐릭터 감정표현 프레임 */ emotionFrame; /** * 가로 길이. 배경 크기에 해당함 */ width; /** * 세로 길이. 배경 크기에 해당함 */ height; /** * 캐릭터의 가로 좌표 */ x; /** * 캐릭터의 세로 좌표. */ y; constructor(obj) { super(); this.date = obj.date; this.originUrl = obj.originUrl; this.originImage = obj.originImage; this.image = obj.image; this.action = obj.action; this.emotion = obj.emotion; this.wmotion = obj.wmotion; this.actionFrame = obj.actionFrame; this.emotionFrame = obj.emotionFrame; this.width = obj.width; this.height = obj.height; this.x = obj.x; this.y = obj.y; } } exports.CharacterImageDto = CharacterImageDto;