UNPKG

maplestory-openapi

Version:

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

78 lines (75 loc) 1.71 kB
import { CharacterImageDto as CharacterImageDto$1 } from '../../../common/dto/character/characterImage.js'; /** * 캐릭터 외형 이미지 정보 */ class CharacterImageDto extends CharacterImageDto$1 { /** * 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기) */ date; /** * 캐릭터 외형 이미지 원본 (URL) */ originUrl; /** * 캐릭터 외형 기본 이미지 (base64) */ originImage; /** * 캐릭터 외형 이미지 (base64) */ image; /** * 캐릭터 액션 */ action; /** * 캐릭터 감정표현 */ emotion; /** * 캐릭터 무기 모션 */ wmotion; /** * 캐릭터 액션 프레임 */ actionFrame; /** * 캐릭터 감정표현 프레임 */ emotionFrame; /** * 가로 길이. 배경 크기에 해당함, 96 (default) ~ 1000 */ width; /** * 세로 길이. 배경 크기에 해당함, 96 (default) ~ 1000 */ 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; } } export { CharacterImageDto };