maplestory-openapi
Version:
This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.
82 lines (77 loc) • 1.78 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var characterImage = require('../../../common/dto/character/characterImage.js');
/**
* Character image information
*/
class CharacterImageDto extends characterImage.CharacterImageDto {
/**
* Reference date for query (SGT, daily data with hours and minutes set to 0)
*/
date;
/**
* Character image original (URL)
*/
originUrl;
/**
* Character image original (base64)
*/
originImage;
/**
* Character image (base64)
*/
image;
/**
* Character action
*/
action;
/**
* Character emotion
*/
emotion;
/**
* Character weapon motion
*/
wmotion;
/**
* Character action frame
*/
actionFrame;
/**
* Character emotion frame
*/
emotionFrame;
/**
* Horizontal length (corresponding to the background size, 96 (default) ~ 1000)
*/
width;
/**
* Vertical length (corresponding to the background size, 96 (default) ~ 1000)
*/
height;
/**
* Horizontal coordinate of the character
*/
x;
/**
* Vertical coordinate of the character
*/
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;