maplestory-openapi 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -39
- package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +11 -1
- package/dist/cjs/maplestory/api/kms/mapleStoryApi.js +1 -1
- package/dist/cjs/maplestory/api/msea/dto/character/characterItemEquipment.js +11 -1
- package/dist/cjs/maplestory/api/msea/mapleStoryApi.js +1 -1
- package/dist/cjs/maplestory/api/tms/dto/character/character.js +22 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterAbility.js +108 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterAndroidEquipment.js +424 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterBasic.js +93 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterBeautyEquipment.js +172 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterCashItemEquipment.js +228 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterDojang.js +49 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterHexaMatrix.js +73 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterHexaMatrixStat.js +113 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterHyperStat.js +97 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterImage.js +81 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterItemEquipment.js +1137 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterLinkSkill.js +115 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterPetEquipment.js +332 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterPopularity.js +27 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterPropensity.js +52 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterSetEffect.js +97 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterSkill.js +77 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterStat.js +57 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterSymbolEquipment.js +119 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterVMatrix.js +88 -0
- package/dist/cjs/maplestory/api/tms/dto/guild/guild.js +22 -0
- package/dist/cjs/maplestory/api/tms/dto/guild/guildBasic.js +107 -0
- package/dist/cjs/maplestory/api/tms/dto/union/union.js +47 -0
- package/dist/cjs/maplestory/api/tms/dto/union/unionArtifact.js +111 -0
- package/dist/cjs/maplestory/api/tms/dto/union/unionRaider.js +214 -0
- package/dist/cjs/maplestory/api/tms/mapleStoryApi.js +802 -0
- package/dist/cjs/maplestory/api/tms/tms.js +109 -0
- package/dist/cjs/node_modules/dayjs/plugin/utc.js +1 -1
- package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +11 -1
- package/dist/esm/maplestory/api/kms/mapleStoryApi.js +1 -1
- package/dist/esm/maplestory/api/msea/dto/character/characterItemEquipment.js +11 -1
- package/dist/esm/maplestory/api/msea/mapleStoryApi.js +1 -1
- package/dist/esm/maplestory/api/tms/dto/character/character.js +18 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterAbility.js +102 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterAndroidEquipment.js +413 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterBasic.js +89 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterBeautyEquipment.js +165 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterCashItemEquipment.js +221 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterDojang.js +45 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterHexaMatrix.js +67 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterHexaMatrixStat.js +108 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterHyperStat.js +92 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterImage.js +77 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterItemEquipment.js +1123 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterLinkSkill.js +110 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterPetEquipment.js +325 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterPopularity.js +23 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterPropensity.js +48 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterSetEffect.js +90 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterSkill.js +72 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterStat.js +52 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterSymbolEquipment.js +114 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterVMatrix.js +83 -0
- package/dist/esm/maplestory/api/tms/dto/guild/guild.js +18 -0
- package/dist/esm/maplestory/api/tms/dto/guild/guildBasic.js +102 -0
- package/dist/esm/maplestory/api/tms/dto/union/union.js +43 -0
- package/dist/esm/maplestory/api/tms/dto/union/unionArtifact.js +105 -0
- package/dist/esm/maplestory/api/tms/dto/union/unionRaider.js +205 -0
- package/dist/esm/maplestory/api/tms/mapleStoryApi.js +794 -0
- package/dist/esm/maplestory/api/tms/tms.js +27 -0
- package/dist/esm/node_modules/dayjs/plugin/utc.js +1 -1
- package/dist/index.min.js +1 -1
- package/package.json +6 -1
- package/types/maplestory/api/common/dto/character/characterItemEquipment.d.ts +2 -0
- package/types/maplestory/api/common/dto/character/characterSkill.d.ts +1 -1
- package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +8 -0
- package/types/maplestory/api/kms/dto/character/characterSkill.d.ts +1 -1
- package/types/maplestory/api/kms/mapleStoryApi.d.ts +1 -1
- package/types/maplestory/api/kms/response/character/characterItemEquipmentBody.d.ts +2 -0
- package/types/maplestory/api/msea/dto/character/characterItemEquipment.d.ts +8 -0
- package/types/maplestory/api/msea/dto/character/characterSkill.d.ts +1 -1
- package/types/maplestory/api/msea/mapleStoryApi.d.ts +1 -1
- package/types/maplestory/api/msea/response/character/characterItemEquipmentBody.d.ts +2 -0
- package/types/maplestory/api/msea/response/character/characterSkillBody.d.ts +1 -1
- package/types/maplestory/api/tms/dto/character/character.d.ts +12 -0
- package/types/maplestory/api/tms/dto/character/characterAbility.d.ts +72 -0
- package/types/maplestory/api/tms/dto/character/characterAndroidEquipment.d.ts +299 -0
- package/types/maplestory/api/tms/dto/character/characterBasic.d.ts +68 -0
- package/types/maplestory/api/tms/dto/character/characterBeautyEquipment.d.ts +117 -0
- package/types/maplestory/api/tms/dto/character/characterCashItemEquipment.d.ts +158 -0
- package/types/maplestory/api/tms/dto/character/characterDojang.d.ts +32 -0
- package/types/maplestory/api/tms/dto/character/characterHexaMatrix.d.ts +48 -0
- package/types/maplestory/api/tms/dto/character/characterHexaMatrixStat.d.ts +78 -0
- package/types/maplestory/api/tms/dto/character/characterHyperStat.d.ts +70 -0
- package/types/maplestory/api/tms/dto/character/characterImage.d.ts +74 -0
- package/types/maplestory/api/tms/dto/character/characterItemEquipment.d.ts +864 -0
- package/types/maplestory/api/tms/dto/character/characterLinkSkill.d.ts +78 -0
- package/types/maplestory/api/tms/dto/character/characterPetEquipment.d.ts +230 -0
- package/types/maplestory/api/tms/dto/character/characterPopularity.d.ts +16 -0
- package/types/maplestory/api/tms/dto/character/characterPropensity.d.ts +36 -0
- package/types/maplestory/api/tms/dto/character/characterSetEffect.d.ts +66 -0
- package/types/maplestory/api/tms/dto/character/characterSkill.d.ts +54 -0
- package/types/maplestory/api/tms/dto/character/characterStat.d.ts +38 -0
- package/types/maplestory/api/tms/dto/character/characterSymbolEquipment.d.ts +86 -0
- package/types/maplestory/api/tms/dto/character/characterVMatrix.d.ts +62 -0
- package/types/maplestory/api/tms/dto/guild/guild.d.ts +12 -0
- package/types/maplestory/api/tms/dto/guild/guildBasic.d.ts +78 -0
- package/types/maplestory/api/tms/dto/union/union.d.ts +32 -0
- package/types/maplestory/api/tms/dto/union/unionArtifact.d.ts +76 -0
- package/types/maplestory/api/tms/dto/union/unionRaider.d.ts +147 -0
- package/types/maplestory/api/tms/index.d.ts +27 -0
- package/types/maplestory/api/tms/mapleStoryApi.d.ts +364 -0
- package/types/maplestory/api/tms/response/character/characterAbilityBody.d.ts +19 -0
- package/types/maplestory/api/tms/response/character/characterAndroidEquipmentBody.d.ts +76 -0
- package/types/maplestory/api/tms/response/character/characterBasicBody.d.ts +16 -0
- package/types/maplestory/api/tms/response/character/characterBeautyEquipmentBody.d.ts +30 -0
- package/types/maplestory/api/tms/response/character/characterBody.d.ts +3 -0
- package/types/maplestory/api/tms/response/character/characterCashItemEquipmentBody.d.ts +39 -0
- package/types/maplestory/api/tms/response/character/characterDojangBody.d.ts +8 -0
- package/types/maplestory/api/tms/response/character/characterHexaMatrixBody.d.ts +13 -0
- package/types/maplestory/api/tms/response/character/characterHexaMatrixStatBody.d.ts +20 -0
- package/types/maplestory/api/tms/response/character/characterHyperStatBody.d.ts +18 -0
- package/types/maplestory/api/tms/response/character/characterItemEquipmentBody.d.ts +195 -0
- package/types/maplestory/api/tms/response/character/characterLinkSkillBody.d.ts +20 -0
- package/types/maplestory/api/tms/response/character/characterPetEquipmentBody.d.ts +56 -0
- package/types/maplestory/api/tms/response/character/characterPopularityBody.d.ts +4 -0
- package/types/maplestory/api/tms/response/character/characterPropensityBody.d.ts +9 -0
- package/types/maplestory/api/tms/response/character/characterSetEffectBody.d.ts +18 -0
- package/types/maplestory/api/tms/response/character/characterSkillBody.d.ts +14 -0
- package/types/maplestory/api/tms/response/character/characterStatBody.d.ts +10 -0
- package/types/maplestory/api/tms/response/character/characterSymbolEquipmentBody.d.ts +22 -0
- package/types/maplestory/api/tms/response/character/characterVMatrixBody.d.ts +16 -0
- package/types/maplestory/api/tms/response/guild/guildBasicBody.d.ts +20 -0
- package/types/maplestory/api/tms/response/guild/guildBody.d.ts +3 -0
- package/types/maplestory/api/tms/response/union/unionArtifactBody.d.ts +19 -0
- package/types/maplestory/api/tms/response/union/unionBody.d.ts +8 -0
- package/types/maplestory/api/tms/response/union/unionRaiderBody.d.ts +38 -0
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
import { CharacterAndroidEquipmentDto as CharacterAndroidEquipmentDto$1, CharacterAndroidEquipmentFaceDto as CharacterAndroidEquipmentFaceDto$1, CharacterAndroidEquipmentHairDto as CharacterAndroidEquipmentHairDto$1, CharacterAndroidEquipmentSkinDto as CharacterAndroidEquipmentSkinDto$1, CharacterAndroidEquipmentPresetDto as CharacterAndroidEquipmentPresetDto$1, CharacterAndroidCashItemEquipmentColoringPrismDto as CharacterAndroidCashItemEquipmentColoringPrismDto$1, CharacterAndroidCashItemEquipmentOptionDto as CharacterAndroidCashItemEquipmentOptionDto$1, CharacterAndroidCashItemEquipmentDto as CharacterAndroidCashItemEquipmentDto$1 } from '../../../common/dto/character/characterAndroidEquipment.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 角色已裝備機器人資訊
|
|
5
|
+
*/
|
|
6
|
+
class CharacterAndroidEquipmentDto extends CharacterAndroidEquipmentDto$1 {
|
|
7
|
+
/**
|
|
8
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
9
|
+
*/
|
|
10
|
+
date;
|
|
11
|
+
/**
|
|
12
|
+
* 機器人名稱
|
|
13
|
+
*/
|
|
14
|
+
androidName;
|
|
15
|
+
/**
|
|
16
|
+
* 機器人暱稱
|
|
17
|
+
*/
|
|
18
|
+
androidNickname;
|
|
19
|
+
/**
|
|
20
|
+
* 機器人圖示
|
|
21
|
+
*/
|
|
22
|
+
androidIcon;
|
|
23
|
+
/**
|
|
24
|
+
* 機器人道具描述
|
|
25
|
+
*/
|
|
26
|
+
androidDescription;
|
|
27
|
+
/**
|
|
28
|
+
* 機器人髮型資訊
|
|
29
|
+
*/
|
|
30
|
+
androidHair;
|
|
31
|
+
/**
|
|
32
|
+
* 機器人臉型資訊
|
|
33
|
+
*/
|
|
34
|
+
androidFace;
|
|
35
|
+
/**
|
|
36
|
+
* 機器人膚色資訊
|
|
37
|
+
*/
|
|
38
|
+
androidSkin;
|
|
39
|
+
/**
|
|
40
|
+
* 機器人的已裝備現金道具資訊
|
|
41
|
+
*/
|
|
42
|
+
androidCashItemEquipment;
|
|
43
|
+
/**
|
|
44
|
+
* 機器人耳飾感應器
|
|
45
|
+
*/
|
|
46
|
+
androidEarSensorClipFlag;
|
|
47
|
+
/**
|
|
48
|
+
* 機器人性別
|
|
49
|
+
*/
|
|
50
|
+
androidGender;
|
|
51
|
+
/**
|
|
52
|
+
* 機器人階級
|
|
53
|
+
*/
|
|
54
|
+
androidGrade;
|
|
55
|
+
/**
|
|
56
|
+
* 非人型機器人
|
|
57
|
+
*/
|
|
58
|
+
androidNonHumanoidFlag;
|
|
59
|
+
/**
|
|
60
|
+
* 是否具備雜貨店功能
|
|
61
|
+
*/
|
|
62
|
+
androidShopUsableFlag;
|
|
63
|
+
/**
|
|
64
|
+
* 目前套用的道具預設編號
|
|
65
|
+
*/
|
|
66
|
+
presetNo;
|
|
67
|
+
/**
|
|
68
|
+
* 預設 1 的機器人資訊
|
|
69
|
+
*/
|
|
70
|
+
androidPreset1;
|
|
71
|
+
/**
|
|
72
|
+
* 預設 2 的機器人資訊
|
|
73
|
+
*/
|
|
74
|
+
androidPreset2;
|
|
75
|
+
/**
|
|
76
|
+
* 預設 3 的機器人資訊
|
|
77
|
+
*/
|
|
78
|
+
androidPreset3;
|
|
79
|
+
constructor(obj) {
|
|
80
|
+
super();
|
|
81
|
+
const { date, android_name, android_nickname, android_icon, android_description, android_hair, android_face, android_skin, android_cash_item_equipment, android_ear_sensor_clip_flag, android_gender, android_grade, android_non_humanoid_flag, android_shop_usable_flag, preset_no, android_preset_1, android_preset_2, android_preset_3, } = obj;
|
|
82
|
+
this.date = date ? new Date(date) : null;
|
|
83
|
+
this.androidName = android_name;
|
|
84
|
+
this.androidNickname = android_nickname;
|
|
85
|
+
this.androidIcon = android_icon;
|
|
86
|
+
this.androidDescription = android_description;
|
|
87
|
+
this.androidHair = android_hair
|
|
88
|
+
? new CharacterAndroidEquipmentHairDto(android_hair)
|
|
89
|
+
: null;
|
|
90
|
+
this.androidFace = android_face
|
|
91
|
+
? new CharacterAndroidEquipmentFaceDto(android_face)
|
|
92
|
+
: null;
|
|
93
|
+
this.androidSkin = android_skin
|
|
94
|
+
? new CharacterAndroidEquipmentSkinDto(android_skin)
|
|
95
|
+
: null;
|
|
96
|
+
this.androidCashItemEquipment = android_cash_item_equipment.map((equipment) => new CharacterAndroidCashItemEquipmentDto(equipment));
|
|
97
|
+
this.androidEarSensorClipFlag = android_ear_sensor_clip_flag ?? null;
|
|
98
|
+
this.androidGender = android_gender;
|
|
99
|
+
this.androidGrade = android_grade;
|
|
100
|
+
this.androidNonHumanoidFlag = android_non_humanoid_flag;
|
|
101
|
+
this.androidShopUsableFlag = android_shop_usable_flag;
|
|
102
|
+
this.presetNo = preset_no;
|
|
103
|
+
this.androidPreset1 = android_preset_1
|
|
104
|
+
? new CharacterAndroidEquipmentPresetDto(android_preset_1)
|
|
105
|
+
: null;
|
|
106
|
+
this.androidPreset2 = android_preset_2
|
|
107
|
+
? new CharacterAndroidEquipmentPresetDto(android_preset_2)
|
|
108
|
+
: null;
|
|
109
|
+
this.androidPreset3 = android_preset_3
|
|
110
|
+
? new CharacterAndroidEquipmentPresetDto(android_preset_3)
|
|
111
|
+
: null;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* 機器人臉型資訊
|
|
116
|
+
*/
|
|
117
|
+
class CharacterAndroidEquipmentFaceDto extends CharacterAndroidEquipmentFaceDto$1 {
|
|
118
|
+
/**
|
|
119
|
+
* 機器人臉型名稱
|
|
120
|
+
*/
|
|
121
|
+
faceName;
|
|
122
|
+
/**
|
|
123
|
+
* 機器人臉型基本顏色
|
|
124
|
+
*/
|
|
125
|
+
baseColor;
|
|
126
|
+
/**
|
|
127
|
+
* 機器人臉型混染顏色
|
|
128
|
+
*/
|
|
129
|
+
mixColor;
|
|
130
|
+
/**
|
|
131
|
+
* 機器人臉型混染顏色比例
|
|
132
|
+
*/
|
|
133
|
+
mixRate;
|
|
134
|
+
constructor(obj) {
|
|
135
|
+
super();
|
|
136
|
+
const { face_name, base_color, mix_color, mix_rate } = obj;
|
|
137
|
+
this.faceName = face_name;
|
|
138
|
+
this.baseColor = base_color;
|
|
139
|
+
this.mixColor = mix_color;
|
|
140
|
+
this.mixRate = mix_rate;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* 機器人髮型資訊
|
|
145
|
+
*/
|
|
146
|
+
class CharacterAndroidEquipmentHairDto extends CharacterAndroidEquipmentHairDto$1 {
|
|
147
|
+
/**
|
|
148
|
+
* 機器人髮型名稱
|
|
149
|
+
*/
|
|
150
|
+
hairName;
|
|
151
|
+
/**
|
|
152
|
+
* 機器人髮型基本顏色
|
|
153
|
+
*/
|
|
154
|
+
baseColor;
|
|
155
|
+
/**
|
|
156
|
+
* 機器人髮型混染顏色
|
|
157
|
+
*/
|
|
158
|
+
mixColor;
|
|
159
|
+
/**
|
|
160
|
+
* 機器人髮型混染顏色比例
|
|
161
|
+
*/
|
|
162
|
+
mixRate;
|
|
163
|
+
constructor(obj) {
|
|
164
|
+
super();
|
|
165
|
+
const { hair_name, base_color, mix_color, mix_rate } = obj;
|
|
166
|
+
this.hairName = hair_name;
|
|
167
|
+
this.baseColor = base_color;
|
|
168
|
+
this.mixColor = mix_color;
|
|
169
|
+
this.mixRate = mix_rate;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* 機器人膚色資訊
|
|
174
|
+
*/
|
|
175
|
+
class CharacterAndroidEquipmentSkinDto extends CharacterAndroidEquipmentSkinDto$1 {
|
|
176
|
+
/**
|
|
177
|
+
* 膚色名稱
|
|
178
|
+
*/
|
|
179
|
+
skinName;
|
|
180
|
+
/**
|
|
181
|
+
* 色系
|
|
182
|
+
*/
|
|
183
|
+
colorStyle;
|
|
184
|
+
/**
|
|
185
|
+
* 膚色色調
|
|
186
|
+
*/
|
|
187
|
+
hue;
|
|
188
|
+
/**
|
|
189
|
+
* 膚色彩度
|
|
190
|
+
*/
|
|
191
|
+
saturation;
|
|
192
|
+
/**
|
|
193
|
+
* 膚色明度
|
|
194
|
+
*/
|
|
195
|
+
brightness;
|
|
196
|
+
constructor(obj) {
|
|
197
|
+
super();
|
|
198
|
+
const { skin_name, color_style, hue, saturation, brightness } = obj;
|
|
199
|
+
this.skinName = skin_name;
|
|
200
|
+
this.colorStyle = color_style;
|
|
201
|
+
this.hue = hue;
|
|
202
|
+
this.saturation = saturation;
|
|
203
|
+
this.brightness = brightness;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* 預設的機器人資訊
|
|
208
|
+
*/
|
|
209
|
+
class CharacterAndroidEquipmentPresetDto extends CharacterAndroidEquipmentPresetDto$1 {
|
|
210
|
+
/**
|
|
211
|
+
* 機器人名稱
|
|
212
|
+
*/
|
|
213
|
+
androidName;
|
|
214
|
+
/**
|
|
215
|
+
* 機器人暱稱
|
|
216
|
+
*/
|
|
217
|
+
androidNickname;
|
|
218
|
+
/**
|
|
219
|
+
* 機器人圖示
|
|
220
|
+
*/
|
|
221
|
+
androidIcon;
|
|
222
|
+
/**
|
|
223
|
+
* 機器人道具描述
|
|
224
|
+
*/
|
|
225
|
+
androidDescription;
|
|
226
|
+
/**
|
|
227
|
+
* 機器人性別
|
|
228
|
+
*/
|
|
229
|
+
androidGender;
|
|
230
|
+
/**
|
|
231
|
+
* 機器人階級
|
|
232
|
+
*/
|
|
233
|
+
androidGrade;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* 機器人髮型資訊
|
|
237
|
+
*/
|
|
238
|
+
androidHair;
|
|
239
|
+
/**
|
|
240
|
+
* 機器人臉型資訊
|
|
241
|
+
*/
|
|
242
|
+
androidFace;
|
|
243
|
+
/**
|
|
244
|
+
* 機器人膚色資訊
|
|
245
|
+
*/
|
|
246
|
+
androidSkin;
|
|
247
|
+
/**
|
|
248
|
+
* 機器人耳飾感應器
|
|
249
|
+
*/
|
|
250
|
+
androidEarSensorClipFlag;
|
|
251
|
+
/**
|
|
252
|
+
* 非人型機器人
|
|
253
|
+
*/
|
|
254
|
+
androidNonHumanoidFlag;
|
|
255
|
+
/**
|
|
256
|
+
* 是否具備雜貨店功能
|
|
257
|
+
*/
|
|
258
|
+
androidShopUsableFlag;
|
|
259
|
+
constructor(obj) {
|
|
260
|
+
super();
|
|
261
|
+
const { android_name, android_nickname, android_icon, android_description, android_gender, android_grade, android_hair, android_face, android_skin, android_ear_sensor_clip_flag, android_non_humanoid_flag, android_shop_usable_flag, } = obj;
|
|
262
|
+
this.androidName = android_name;
|
|
263
|
+
this.androidNickname = android_nickname;
|
|
264
|
+
this.androidIcon = android_icon;
|
|
265
|
+
this.androidDescription = android_description;
|
|
266
|
+
this.androidGender = android_gender;
|
|
267
|
+
this.androidGrade = android_grade;
|
|
268
|
+
this.androidHair = new CharacterAndroidEquipmentHairDto(android_hair);
|
|
269
|
+
this.androidFace = new CharacterAndroidEquipmentFaceDto(android_face);
|
|
270
|
+
this.androidSkin = android_skin
|
|
271
|
+
? new CharacterAndroidEquipmentSkinDto(android_skin)
|
|
272
|
+
: null;
|
|
273
|
+
this.androidEarSensorClipFlag = android_ear_sensor_clip_flag;
|
|
274
|
+
this.androidNonHumanoidFlag = android_non_humanoid_flag;
|
|
275
|
+
this.androidShopUsableFlag = android_shop_usable_flag;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* 機器人現金道具彩色稜鏡資訊
|
|
280
|
+
*/
|
|
281
|
+
class CharacterAndroidCashItemEquipmentColoringPrismDto extends CharacterAndroidCashItemEquipmentColoringPrismDto$1 {
|
|
282
|
+
/**
|
|
283
|
+
* 彩色稜鏡顏色範圍
|
|
284
|
+
*/
|
|
285
|
+
colorRange;
|
|
286
|
+
/**
|
|
287
|
+
* 彩色稜鏡色調
|
|
288
|
+
*/
|
|
289
|
+
hue;
|
|
290
|
+
/**
|
|
291
|
+
* 彩色稜鏡彩度
|
|
292
|
+
*/
|
|
293
|
+
saturation;
|
|
294
|
+
/**
|
|
295
|
+
* 彩色稜鏡明度
|
|
296
|
+
*/
|
|
297
|
+
value;
|
|
298
|
+
constructor(obj) {
|
|
299
|
+
super();
|
|
300
|
+
const { color_range, hue, saturation, value } = obj;
|
|
301
|
+
this.colorRange = color_range;
|
|
302
|
+
this.hue = hue;
|
|
303
|
+
this.saturation = saturation;
|
|
304
|
+
this.value = value;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* 機器人現金道具選項
|
|
309
|
+
*/
|
|
310
|
+
class CharacterAndroidCashItemEquipmentOptionDto extends CharacterAndroidCashItemEquipmentOptionDto$1 {
|
|
311
|
+
/**
|
|
312
|
+
* 選項類型
|
|
313
|
+
*/
|
|
314
|
+
optionType;
|
|
315
|
+
/**
|
|
316
|
+
* 選項數值
|
|
317
|
+
*/
|
|
318
|
+
optionValue;
|
|
319
|
+
constructor(obj) {
|
|
320
|
+
super();
|
|
321
|
+
const { option_type, option_value } = obj;
|
|
322
|
+
this.optionType = option_type;
|
|
323
|
+
this.optionValue = option_value;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* 機器人的已裝備現金道具資訊
|
|
328
|
+
*/
|
|
329
|
+
class CharacterAndroidCashItemEquipmentDto extends CharacterAndroidCashItemEquipmentDto$1 {
|
|
330
|
+
/**
|
|
331
|
+
* 機器人現金道具部位名稱
|
|
332
|
+
*/
|
|
333
|
+
cashItemEquipmentPart;
|
|
334
|
+
/**
|
|
335
|
+
* 機器人現金道具欄位位置
|
|
336
|
+
*/
|
|
337
|
+
cashItemEquipmentSlot;
|
|
338
|
+
/**
|
|
339
|
+
* 機器人現金道具名稱
|
|
340
|
+
*/
|
|
341
|
+
cashItemName;
|
|
342
|
+
/**
|
|
343
|
+
* 機器人現金道具圖示
|
|
344
|
+
*/
|
|
345
|
+
cashItemIcon;
|
|
346
|
+
/**
|
|
347
|
+
* 機器人現金道具描述
|
|
348
|
+
*/
|
|
349
|
+
cashItemDescription;
|
|
350
|
+
/**
|
|
351
|
+
* 機器人現金道具選項
|
|
352
|
+
*/
|
|
353
|
+
cashItemOption;
|
|
354
|
+
/**
|
|
355
|
+
* 機器人現金道具有效期間 (TST)
|
|
356
|
+
*/
|
|
357
|
+
dateExpire = null;
|
|
358
|
+
/**
|
|
359
|
+
* Whether the android cash item is expired
|
|
360
|
+
*/
|
|
361
|
+
isExpired = null;
|
|
362
|
+
/**
|
|
363
|
+
* 機器人現金道具選項有效期間 (TST,時間單位資料中的分鐘顯示為 0)
|
|
364
|
+
*/
|
|
365
|
+
dateOptionExpire = null;
|
|
366
|
+
/**
|
|
367
|
+
* Whether the android cash item option is expired
|
|
368
|
+
*/
|
|
369
|
+
isOptionExpired = null;
|
|
370
|
+
/**
|
|
371
|
+
* 機器人現金道具標籤資訊 (特殊標籤、紅標籤、黑標籤、大師標籤)
|
|
372
|
+
*/
|
|
373
|
+
cashItemLabel;
|
|
374
|
+
/**
|
|
375
|
+
* 機器人現金道具彩色稜鏡資訊
|
|
376
|
+
*/
|
|
377
|
+
cashItemColoringPrism;
|
|
378
|
+
/**
|
|
379
|
+
* 道具可裝備性別
|
|
380
|
+
*/
|
|
381
|
+
androidItemGender;
|
|
382
|
+
constructor(obj) {
|
|
383
|
+
super();
|
|
384
|
+
const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, android_item_gender, } = obj;
|
|
385
|
+
this.cashItemEquipmentPart = cash_item_equipment_part;
|
|
386
|
+
this.cashItemEquipmentSlot = cash_item_equipment_slot;
|
|
387
|
+
this.cashItemName = cash_item_name;
|
|
388
|
+
this.cashItemIcon = cash_item_icon;
|
|
389
|
+
this.cashItemDescription = cash_item_description;
|
|
390
|
+
this.cashItemOption = cash_item_option.map((option) => new CharacterAndroidCashItemEquipmentOptionDto(option));
|
|
391
|
+
this.cashItemLabel = cash_item_label;
|
|
392
|
+
this.cashItemColoringPrism = cash_item_coloring_prism
|
|
393
|
+
? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
|
|
394
|
+
: null;
|
|
395
|
+
this.androidItemGender = android_item_gender;
|
|
396
|
+
if (date_expire === 'expired') {
|
|
397
|
+
this.isExpired = true;
|
|
398
|
+
}
|
|
399
|
+
else if (typeof date_expire === 'string') {
|
|
400
|
+
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
401
|
+
}
|
|
402
|
+
if (date_option_expire === 'expired') {
|
|
403
|
+
this.isOptionExpired = true;
|
|
404
|
+
}
|
|
405
|
+
else if (typeof date_option_expire === 'string') {
|
|
406
|
+
this.dateOptionExpire = date_option_expire
|
|
407
|
+
? new Date(date_option_expire)
|
|
408
|
+
: null;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export { CharacterAndroidCashItemEquipmentColoringPrismDto, CharacterAndroidCashItemEquipmentDto, CharacterAndroidCashItemEquipmentOptionDto, CharacterAndroidEquipmentDto, CharacterAndroidEquipmentFaceDto, CharacterAndroidEquipmentHairDto, CharacterAndroidEquipmentPresetDto, CharacterAndroidEquipmentSkinDto };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { CharacterBasicDto as CharacterBasicDto$1 } from '../../../common/dto/character/characterBasic.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 角色基本資訊
|
|
5
|
+
*/
|
|
6
|
+
class CharacterBasicDto extends CharacterBasicDto$1 {
|
|
7
|
+
/**
|
|
8
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
9
|
+
*/
|
|
10
|
+
date;
|
|
11
|
+
/**
|
|
12
|
+
* 角色名稱
|
|
13
|
+
*/
|
|
14
|
+
characterName;
|
|
15
|
+
/**
|
|
16
|
+
* 世界名稱
|
|
17
|
+
*/
|
|
18
|
+
worldName;
|
|
19
|
+
/**
|
|
20
|
+
* 角色性別
|
|
21
|
+
*/
|
|
22
|
+
characterGender;
|
|
23
|
+
/**
|
|
24
|
+
* 角色職業
|
|
25
|
+
*/
|
|
26
|
+
characterClass;
|
|
27
|
+
/**
|
|
28
|
+
* 角色轉職次數
|
|
29
|
+
*/
|
|
30
|
+
characterClassLevel;
|
|
31
|
+
/**
|
|
32
|
+
* 角色等級
|
|
33
|
+
*/
|
|
34
|
+
characterLevel;
|
|
35
|
+
/**
|
|
36
|
+
* 當前等級的經驗值
|
|
37
|
+
*/
|
|
38
|
+
characterExp;
|
|
39
|
+
/**
|
|
40
|
+
* 當前等級的經驗值百分比
|
|
41
|
+
*/
|
|
42
|
+
characterExpRate;
|
|
43
|
+
/**
|
|
44
|
+
* 角色所屬公會的名稱
|
|
45
|
+
*/
|
|
46
|
+
characterGuildName;
|
|
47
|
+
/**
|
|
48
|
+
* 角色外型圖片
|
|
49
|
+
*/
|
|
50
|
+
characterImage;
|
|
51
|
+
/**
|
|
52
|
+
* 角色建立日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
53
|
+
*/
|
|
54
|
+
characterDateCreate;
|
|
55
|
+
/**
|
|
56
|
+
* 過去 7 天的登入狀態 (true:已登入,false:未登入)
|
|
57
|
+
*/
|
|
58
|
+
accessFlag;
|
|
59
|
+
/**
|
|
60
|
+
* 解放任務完成狀態 (0:未完成,1:創世武器已解放)
|
|
61
|
+
*/
|
|
62
|
+
liberationQuestClear;
|
|
63
|
+
constructor(obj) {
|
|
64
|
+
super();
|
|
65
|
+
const { date, character_name, world_name, character_gender, character_class, character_class_level, character_level, character_exp, character_exp_rate, character_guild_name, character_image, character_date_create, access_flag, liberation_quest_clear, } = obj;
|
|
66
|
+
this.date = date ? new Date(date) : null;
|
|
67
|
+
this.characterName = character_name;
|
|
68
|
+
this.worldName = world_name;
|
|
69
|
+
this.characterGender = character_gender;
|
|
70
|
+
this.characterClass = character_class;
|
|
71
|
+
this.characterClassLevel = character_class_level;
|
|
72
|
+
this.characterLevel = character_level;
|
|
73
|
+
this.characterExp = character_exp;
|
|
74
|
+
this.characterExpRate = character_exp_rate;
|
|
75
|
+
this.characterGuildName = character_guild_name;
|
|
76
|
+
this.characterImage = character_image;
|
|
77
|
+
this.characterDateCreate = new Date(character_date_create);
|
|
78
|
+
this.accessFlag = access_flag;
|
|
79
|
+
this.liberationQuestClear = liberation_quest_clear;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Login status in the past 7 days
|
|
83
|
+
*/
|
|
84
|
+
get isAccessFlag() {
|
|
85
|
+
return super.isAccessFlag;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export { CharacterBasicDto };
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { CharacterBeautyEquipmentDto as CharacterBeautyEquipmentDto$1, CharacterBeautyEquipmentFaceDto as CharacterBeautyEquipmentFaceDto$1, CharacterBeautyEquipmentHairDto as CharacterBeautyEquipmentHairDto$1, CharacterBeautyEquipmentSkinDto as CharacterBeautyEquipmentSkinDto$1 } from '../../../common/dto/character/characterBeautyEquipment.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 角色目前已裝備的髮型、臉型與膚色資訊
|
|
5
|
+
*/
|
|
6
|
+
class CharacterBeautyEquipmentDto extends CharacterBeautyEquipmentDto$1 {
|
|
7
|
+
/**
|
|
8
|
+
* 要搜尋的日期 (TST)
|
|
9
|
+
*/
|
|
10
|
+
date;
|
|
11
|
+
/**
|
|
12
|
+
* 角色性別
|
|
13
|
+
*/
|
|
14
|
+
characterGender;
|
|
15
|
+
/**
|
|
16
|
+
* 角色職業
|
|
17
|
+
*/
|
|
18
|
+
characterClass;
|
|
19
|
+
/**
|
|
20
|
+
* 角色髮型資訊<br>
|
|
21
|
+
* (神之子為 Alpha、天使破壞者為一般模式時)
|
|
22
|
+
*/
|
|
23
|
+
characterHair;
|
|
24
|
+
/**
|
|
25
|
+
* 角色臉型資訊<br>
|
|
26
|
+
* (神之子為 Alpha、天使破壞者為一般模式時)
|
|
27
|
+
*/
|
|
28
|
+
characterFace;
|
|
29
|
+
/**
|
|
30
|
+
* 角色膚色資訊<br>
|
|
31
|
+
* (神之子為 Alpha、天使破壞者為一般模式時)
|
|
32
|
+
*/
|
|
33
|
+
characterSkin;
|
|
34
|
+
/**
|
|
35
|
+
* 神之子為 Beta 及天使破壞者為變裝模式時的目前已裝備髮型資訊
|
|
36
|
+
*/
|
|
37
|
+
additionalCharacterHair;
|
|
38
|
+
/**
|
|
39
|
+
* 神之子為 Beta 及天使破壞者為變裝模式時的目前已裝備臉型資訊
|
|
40
|
+
*/
|
|
41
|
+
additionalCharacterFace;
|
|
42
|
+
/**
|
|
43
|
+
* 神之子為 Beta 及天使破壞者為變裝模式時的目前已裝備膚色資訊
|
|
44
|
+
*/
|
|
45
|
+
additionalCharacterSkin;
|
|
46
|
+
constructor(obj) {
|
|
47
|
+
super();
|
|
48
|
+
const { date, character_gender, character_class, character_hair, character_face, character_skin, additional_character_hair, additional_character_face, additional_character_skin, } = obj;
|
|
49
|
+
this.date = date ? new Date(date) : null;
|
|
50
|
+
this.characterGender = character_gender;
|
|
51
|
+
this.characterClass = character_class;
|
|
52
|
+
this.characterHair = character_hair
|
|
53
|
+
? new CharacterBeautyEquipmentHairDto(character_hair)
|
|
54
|
+
: null;
|
|
55
|
+
this.characterFace = character_face
|
|
56
|
+
? new CharacterBeautyEquipmentFaceDto(character_face)
|
|
57
|
+
: null;
|
|
58
|
+
this.characterSkin = character_skin
|
|
59
|
+
? new CharacterBeautyEquipmentSkinDto(character_skin)
|
|
60
|
+
: null;
|
|
61
|
+
this.additionalCharacterHair = additional_character_hair
|
|
62
|
+
? new CharacterBeautyEquipmentHairDto(additional_character_hair)
|
|
63
|
+
: null;
|
|
64
|
+
this.additionalCharacterFace = additional_character_face
|
|
65
|
+
? new CharacterBeautyEquipmentFaceDto(additional_character_face)
|
|
66
|
+
: null;
|
|
67
|
+
this.additionalCharacterSkin = additional_character_skin
|
|
68
|
+
? new CharacterBeautyEquipmentSkinDto(additional_character_skin)
|
|
69
|
+
: null;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 角色臉型資訊
|
|
74
|
+
*/
|
|
75
|
+
class CharacterBeautyEquipmentFaceDto extends CharacterBeautyEquipmentFaceDto$1 {
|
|
76
|
+
/**
|
|
77
|
+
* 臉型名稱
|
|
78
|
+
*/
|
|
79
|
+
faceName;
|
|
80
|
+
/**
|
|
81
|
+
* 臉型基本顏色
|
|
82
|
+
*/
|
|
83
|
+
baseColor;
|
|
84
|
+
/**
|
|
85
|
+
* 臉型混染顏色
|
|
86
|
+
*/
|
|
87
|
+
mixColor;
|
|
88
|
+
/**
|
|
89
|
+
* 臉型混染顏色比例
|
|
90
|
+
*/
|
|
91
|
+
mixRate;
|
|
92
|
+
constructor(obj) {
|
|
93
|
+
super();
|
|
94
|
+
const { face_name, base_color, mix_color, mix_rate } = obj;
|
|
95
|
+
this.faceName = face_name;
|
|
96
|
+
this.baseColor = base_color;
|
|
97
|
+
this.mixColor = mix_color;
|
|
98
|
+
this.mixRate = mix_rate;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* 角色髮型資訊
|
|
103
|
+
*/
|
|
104
|
+
class CharacterBeautyEquipmentHairDto extends CharacterBeautyEquipmentHairDto$1 {
|
|
105
|
+
/**
|
|
106
|
+
* 髮型名稱
|
|
107
|
+
*/
|
|
108
|
+
hairName;
|
|
109
|
+
/**
|
|
110
|
+
* 髮型基本顏色
|
|
111
|
+
*/
|
|
112
|
+
baseColor;
|
|
113
|
+
/**
|
|
114
|
+
* 髮型混染顏色
|
|
115
|
+
*/
|
|
116
|
+
mixColor;
|
|
117
|
+
/**
|
|
118
|
+
* 髮型混染顏色比例
|
|
119
|
+
*/
|
|
120
|
+
mixRate;
|
|
121
|
+
constructor(obj) {
|
|
122
|
+
super();
|
|
123
|
+
const { hair_name, base_color, mix_color, mix_rate } = obj;
|
|
124
|
+
this.hairName = hair_name;
|
|
125
|
+
this.baseColor = base_color;
|
|
126
|
+
this.mixColor = mix_color;
|
|
127
|
+
this.mixRate = mix_rate;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* 角色膚色資訊
|
|
132
|
+
*/
|
|
133
|
+
class CharacterBeautyEquipmentSkinDto extends CharacterBeautyEquipmentSkinDto$1 {
|
|
134
|
+
/**
|
|
135
|
+
* 膚色名稱
|
|
136
|
+
*/
|
|
137
|
+
skinName;
|
|
138
|
+
/**
|
|
139
|
+
* 色系
|
|
140
|
+
*/
|
|
141
|
+
colorStyle;
|
|
142
|
+
/**
|
|
143
|
+
* 膚色色調
|
|
144
|
+
*/
|
|
145
|
+
hue;
|
|
146
|
+
/**
|
|
147
|
+
* 膚色彩度
|
|
148
|
+
*/
|
|
149
|
+
saturation;
|
|
150
|
+
/**
|
|
151
|
+
* 膚色明度
|
|
152
|
+
*/
|
|
153
|
+
brightness;
|
|
154
|
+
constructor(obj) {
|
|
155
|
+
super();
|
|
156
|
+
const { skin_name, color_style, hue, saturation, brightness } = obj;
|
|
157
|
+
this.skinName = skin_name;
|
|
158
|
+
this.colorStyle = color_style;
|
|
159
|
+
this.hue = hue;
|
|
160
|
+
this.saturation = saturation;
|
|
161
|
+
this.brightness = brightness;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export { CharacterBeautyEquipmentDto, CharacterBeautyEquipmentFaceDto, CharacterBeautyEquipmentHairDto, CharacterBeautyEquipmentSkinDto };
|