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,1123 @@
|
|
|
1
|
+
import { CharacterItemEquipmentDto as CharacterItemEquipmentDto$1, CharacterItemEquipmentTitleDto as CharacterItemEquipmentTitleDto$1, CharacterItemEquipmentAddOptionDto as CharacterItemEquipmentAddOptionDto$1, CharacterItemEquipmentBaseOptionDto as CharacterItemEquipmentBaseOptionDto$1, CharacterItemEquipmentEtcOptionDto as CharacterItemEquipmentEtcOptionDto$1, CharacterItemEquipmentExceptionalOptionDto as CharacterItemEquipmentExceptionalOptionDto$1, CharacterItemEquipmentStarforceOptionDto as CharacterItemEquipmentStarforceOptionDto$1, CharacterItemEquipmentTotalOptionDto as CharacterItemEquipmentTotalOptionDto$1, CharacterItemEquipmentDragonInfoDto as CharacterItemEquipmentDragonInfoDto$1, CharacterItemEquipmentMechanicInfoDto as CharacterItemEquipmentMechanicInfoDto$1, CharacterItemEquipmentInfoDto as CharacterItemEquipmentInfoDto$1 } from '../../../common/dto/character/characterItemEquipment.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 角色已裝備道具資訊
|
|
5
|
+
*/
|
|
6
|
+
class CharacterItemEquipmentDto extends CharacterItemEquipmentDto$1 {
|
|
7
|
+
/**
|
|
8
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
9
|
+
*/
|
|
10
|
+
date;
|
|
11
|
+
/**
|
|
12
|
+
* 角色性別
|
|
13
|
+
*/
|
|
14
|
+
characterGender;
|
|
15
|
+
/**
|
|
16
|
+
* 角色職業
|
|
17
|
+
*/
|
|
18
|
+
characterClass;
|
|
19
|
+
/**
|
|
20
|
+
* 目前套用的道具預設編號
|
|
21
|
+
*/
|
|
22
|
+
presetNo;
|
|
23
|
+
/**
|
|
24
|
+
* 道具資訊
|
|
25
|
+
*/
|
|
26
|
+
itemEquipment;
|
|
27
|
+
/**
|
|
28
|
+
* 預設 1 的道具資訊
|
|
29
|
+
*/
|
|
30
|
+
itemEquipmentPreset1;
|
|
31
|
+
/**
|
|
32
|
+
* 預設 2 的道具資訊
|
|
33
|
+
*/
|
|
34
|
+
itemEquipmentPreset2;
|
|
35
|
+
/**
|
|
36
|
+
* 預設 3 的道具資訊
|
|
37
|
+
*/
|
|
38
|
+
itemEquipmentPreset3;
|
|
39
|
+
/**
|
|
40
|
+
* 稱號資訊
|
|
41
|
+
*/
|
|
42
|
+
title;
|
|
43
|
+
/**
|
|
44
|
+
* 龍魔導士的龍道具資訊 (僅在龍魔導士時回應)
|
|
45
|
+
*/
|
|
46
|
+
dragonEquipment;
|
|
47
|
+
/**
|
|
48
|
+
* 機甲戰神道具資訊 (僅在機甲戰神時回應)
|
|
49
|
+
*/
|
|
50
|
+
mechanicEquipment;
|
|
51
|
+
constructor(obj) {
|
|
52
|
+
super();
|
|
53
|
+
const { date, character_gender, character_class, preset_no, item_equipment, item_equipment_preset_1, item_equipment_preset_2, item_equipment_preset_3, title, dragon_equipment, mechanic_equipment, } = obj;
|
|
54
|
+
this.date = date ? new Date(date) : null;
|
|
55
|
+
this.characterGender = character_gender;
|
|
56
|
+
this.characterClass = character_class;
|
|
57
|
+
this.presetNo = preset_no;
|
|
58
|
+
this.itemEquipment = item_equipment.map((equipment) => new CharacterItemEquipmentInfoDto(equipment));
|
|
59
|
+
this.itemEquipmentPreset1 =
|
|
60
|
+
item_equipment_preset_1?.map((equipment) => new CharacterItemEquipmentInfoDto(equipment)) ?? [];
|
|
61
|
+
this.itemEquipmentPreset2 =
|
|
62
|
+
item_equipment_preset_2?.map((equipment) => new CharacterItemEquipmentInfoDto(equipment)) ?? [];
|
|
63
|
+
this.itemEquipmentPreset3 =
|
|
64
|
+
item_equipment_preset_3?.map((equipment) => new CharacterItemEquipmentInfoDto(equipment)) ?? [];
|
|
65
|
+
this.title = title ? new CharacterItemEquipmentTitleDto(title) : null;
|
|
66
|
+
this.dragonEquipment = dragon_equipment.map((equipment) => new CharacterItemEquipmentDragonInfoDto(equipment));
|
|
67
|
+
this.mechanicEquipment = mechanic_equipment.map((equipment) => new CharacterItemEquipmentMechanicInfoDto(equipment));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* 稱號資訊
|
|
72
|
+
*/
|
|
73
|
+
class CharacterItemEquipmentTitleDto extends CharacterItemEquipmentTitleDto$1 {
|
|
74
|
+
/**
|
|
75
|
+
* 稱號道具名稱
|
|
76
|
+
*/
|
|
77
|
+
titleName;
|
|
78
|
+
/**
|
|
79
|
+
* 稱號圖示
|
|
80
|
+
*/
|
|
81
|
+
titleIcon;
|
|
82
|
+
/**
|
|
83
|
+
* 稱號描述
|
|
84
|
+
*/
|
|
85
|
+
titleDescription;
|
|
86
|
+
/**
|
|
87
|
+
* 稱號有效期間 (TST)
|
|
88
|
+
*/
|
|
89
|
+
dateExpire = null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the title is expired
|
|
92
|
+
*/
|
|
93
|
+
isExpired = null;
|
|
94
|
+
/**
|
|
95
|
+
* 稱號選項有效期間 (expired:已到期,null:無限期) (TST)
|
|
96
|
+
*/
|
|
97
|
+
dateOptionExpire = null;
|
|
98
|
+
/**
|
|
99
|
+
* Whether the title option is expired
|
|
100
|
+
*/
|
|
101
|
+
isOptionExpired = null;
|
|
102
|
+
/**
|
|
103
|
+
* 外型設定中已登錄稱號的道具名稱
|
|
104
|
+
*/
|
|
105
|
+
titleShapeName;
|
|
106
|
+
/**
|
|
107
|
+
* 外型設定中已登錄稱號的圖示
|
|
108
|
+
*/
|
|
109
|
+
titleShapeIcon;
|
|
110
|
+
/**
|
|
111
|
+
* 外型設定中已登錄稱號的描述
|
|
112
|
+
*/
|
|
113
|
+
titleShapeDescription;
|
|
114
|
+
constructor(obj) {
|
|
115
|
+
super();
|
|
116
|
+
const { title_name, title_icon, title_description, date_expire, date_option_expire, title_shape_name, title_shape_icon, title_shape_description, } = obj;
|
|
117
|
+
this.titleName = title_name;
|
|
118
|
+
this.titleIcon = title_icon;
|
|
119
|
+
this.titleDescription = title_description;
|
|
120
|
+
this.titleShapeName = title_shape_name;
|
|
121
|
+
this.titleShapeIcon = title_shape_icon;
|
|
122
|
+
this.titleShapeDescription = title_shape_description;
|
|
123
|
+
if (date_expire === 'expired') {
|
|
124
|
+
this.isExpired = true;
|
|
125
|
+
}
|
|
126
|
+
else if (typeof date_expire === 'string') {
|
|
127
|
+
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
128
|
+
}
|
|
129
|
+
if (date_option_expire === 'expired') {
|
|
130
|
+
this.isOptionExpired = true;
|
|
131
|
+
}
|
|
132
|
+
else if (typeof date_option_expire === 'string') {
|
|
133
|
+
this.dateOptionExpire = date_option_expire
|
|
134
|
+
? new Date(date_option_expire)
|
|
135
|
+
: null;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* 附加道具選項
|
|
141
|
+
*/
|
|
142
|
+
class CharacterItemEquipmentAddOptionDto extends CharacterItemEquipmentAddOptionDto$1 {
|
|
143
|
+
/**
|
|
144
|
+
* 力量 (STR)
|
|
145
|
+
*/
|
|
146
|
+
str;
|
|
147
|
+
/**
|
|
148
|
+
* 敏捷 (DEX)
|
|
149
|
+
*/
|
|
150
|
+
dex;
|
|
151
|
+
/**
|
|
152
|
+
* 智力 (INT)
|
|
153
|
+
*/
|
|
154
|
+
int;
|
|
155
|
+
/**
|
|
156
|
+
* 幸運 (LUK)
|
|
157
|
+
*/
|
|
158
|
+
luk;
|
|
159
|
+
/**
|
|
160
|
+
* 最大體力 (HP)
|
|
161
|
+
*/
|
|
162
|
+
maxHp;
|
|
163
|
+
/**
|
|
164
|
+
* 最大 MP
|
|
165
|
+
*/
|
|
166
|
+
maxMp;
|
|
167
|
+
/**
|
|
168
|
+
* 攻擊力
|
|
169
|
+
*/
|
|
170
|
+
attackPower;
|
|
171
|
+
/**
|
|
172
|
+
* 魔力
|
|
173
|
+
*/
|
|
174
|
+
magicPower;
|
|
175
|
+
/**
|
|
176
|
+
* 防禦力
|
|
177
|
+
*/
|
|
178
|
+
armor;
|
|
179
|
+
/**
|
|
180
|
+
* 移動速度
|
|
181
|
+
*/
|
|
182
|
+
speed;
|
|
183
|
+
/**
|
|
184
|
+
* 跳躍力
|
|
185
|
+
*/
|
|
186
|
+
jump;
|
|
187
|
+
/**
|
|
188
|
+
* 對首領傷害增加 (%)
|
|
189
|
+
*/
|
|
190
|
+
bossDamage;
|
|
191
|
+
/**
|
|
192
|
+
* 傷害 (%)
|
|
193
|
+
*/
|
|
194
|
+
damage;
|
|
195
|
+
/**
|
|
196
|
+
* 全部能力值 (%)
|
|
197
|
+
*/
|
|
198
|
+
allStat;
|
|
199
|
+
/**
|
|
200
|
+
* 裝備等級減少
|
|
201
|
+
*/
|
|
202
|
+
equipmentLevelDecrease;
|
|
203
|
+
constructor(obj) {
|
|
204
|
+
super();
|
|
205
|
+
const { str, dex, int, luk, max_hp, max_mp, attack_power, magic_power, armor, speed, jump, boss_damage, damage, all_stat, equipment_level_decrease, } = obj;
|
|
206
|
+
this.str = str;
|
|
207
|
+
this.dex = dex;
|
|
208
|
+
this.int = int;
|
|
209
|
+
this.luk = luk;
|
|
210
|
+
this.maxHp = max_hp;
|
|
211
|
+
this.maxMp = max_mp;
|
|
212
|
+
this.attackPower = attack_power;
|
|
213
|
+
this.magicPower = magic_power;
|
|
214
|
+
this.armor = armor;
|
|
215
|
+
this.speed = speed;
|
|
216
|
+
this.jump = jump;
|
|
217
|
+
this.bossDamage = boss_damage;
|
|
218
|
+
this.damage = damage;
|
|
219
|
+
this.allStat = all_stat;
|
|
220
|
+
this.equipmentLevelDecrease = equipment_level_decrease;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* 道具基本選項資訊
|
|
225
|
+
*/
|
|
226
|
+
class CharacterItemEquipmentBaseOptionDto extends CharacterItemEquipmentBaseOptionDto$1 {
|
|
227
|
+
/**
|
|
228
|
+
* 力量 (STR)
|
|
229
|
+
*/
|
|
230
|
+
str;
|
|
231
|
+
/**
|
|
232
|
+
* 敏捷 (DEX)
|
|
233
|
+
*/
|
|
234
|
+
dex;
|
|
235
|
+
/**
|
|
236
|
+
* 智力 (INT)
|
|
237
|
+
*/
|
|
238
|
+
int;
|
|
239
|
+
/**
|
|
240
|
+
* 幸運 (LUK)
|
|
241
|
+
*/
|
|
242
|
+
luk;
|
|
243
|
+
/**
|
|
244
|
+
* 最大體力 (HP)
|
|
245
|
+
*/
|
|
246
|
+
maxHp;
|
|
247
|
+
/**
|
|
248
|
+
* 最大 MP
|
|
249
|
+
*/
|
|
250
|
+
maxMp;
|
|
251
|
+
/**
|
|
252
|
+
* 攻擊力
|
|
253
|
+
*/
|
|
254
|
+
attackPower;
|
|
255
|
+
/**
|
|
256
|
+
* 魔力
|
|
257
|
+
*/
|
|
258
|
+
magicPower;
|
|
259
|
+
/**
|
|
260
|
+
* 防禦力
|
|
261
|
+
*/
|
|
262
|
+
armor;
|
|
263
|
+
/**
|
|
264
|
+
* 移動速度
|
|
265
|
+
*/
|
|
266
|
+
speed;
|
|
267
|
+
/**
|
|
268
|
+
* 跳躍力
|
|
269
|
+
*/
|
|
270
|
+
jump;
|
|
271
|
+
/**
|
|
272
|
+
* 對首領傷害增加 (%)
|
|
273
|
+
*/
|
|
274
|
+
bossDamage;
|
|
275
|
+
/**
|
|
276
|
+
* 無視怪物防禦力 (%)
|
|
277
|
+
*/
|
|
278
|
+
ignoreMonsterArmor;
|
|
279
|
+
/**
|
|
280
|
+
* 全部能力值 (%)
|
|
281
|
+
*/
|
|
282
|
+
allStat;
|
|
283
|
+
/**
|
|
284
|
+
* 最大體力 (HP) (%)
|
|
285
|
+
*/
|
|
286
|
+
maxHpRate;
|
|
287
|
+
/**
|
|
288
|
+
* 最大 MP (%)
|
|
289
|
+
*/
|
|
290
|
+
maxMpRate;
|
|
291
|
+
/**
|
|
292
|
+
* 裝備基本等級
|
|
293
|
+
*/
|
|
294
|
+
baseEquipmentLevel;
|
|
295
|
+
constructor(obj) {
|
|
296
|
+
super();
|
|
297
|
+
const { str, dex, int, luk, max_hp, max_mp, attack_power, magic_power, armor, speed, jump, boss_damage, ignore_monster_armor, all_stat, max_hp_rate, max_mp_rate, base_equipment_level, } = obj;
|
|
298
|
+
this.str = str;
|
|
299
|
+
this.dex = dex;
|
|
300
|
+
this.int = int;
|
|
301
|
+
this.luk = luk;
|
|
302
|
+
this.maxHp = max_hp;
|
|
303
|
+
this.maxMp = max_mp;
|
|
304
|
+
this.attackPower = attack_power;
|
|
305
|
+
this.magicPower = magic_power;
|
|
306
|
+
this.armor = armor;
|
|
307
|
+
this.speed = speed;
|
|
308
|
+
this.jump = jump;
|
|
309
|
+
this.bossDamage = boss_damage;
|
|
310
|
+
this.ignoreMonsterArmor = ignore_monster_armor;
|
|
311
|
+
this.allStat = all_stat;
|
|
312
|
+
this.maxHpRate = max_hp_rate;
|
|
313
|
+
this.maxMpRate = max_mp_rate;
|
|
314
|
+
this.baseEquipmentLevel = base_equipment_level;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* 道具其他選項資訊
|
|
319
|
+
*/
|
|
320
|
+
class CharacterItemEquipmentEtcOptionDto extends CharacterItemEquipmentEtcOptionDto$1 {
|
|
321
|
+
/**
|
|
322
|
+
* 力量 (STR)
|
|
323
|
+
*/
|
|
324
|
+
str;
|
|
325
|
+
/**
|
|
326
|
+
* 敏捷 (DEX)
|
|
327
|
+
*/
|
|
328
|
+
dex;
|
|
329
|
+
/**
|
|
330
|
+
* 智力 (INT)
|
|
331
|
+
*/
|
|
332
|
+
int;
|
|
333
|
+
/**
|
|
334
|
+
* 幸運 (LUK)
|
|
335
|
+
*/
|
|
336
|
+
luk;
|
|
337
|
+
/**
|
|
338
|
+
* 最大體力 (HP)
|
|
339
|
+
*/
|
|
340
|
+
maxHp;
|
|
341
|
+
/**
|
|
342
|
+
* 最大 MP
|
|
343
|
+
*/
|
|
344
|
+
maxMp;
|
|
345
|
+
/**
|
|
346
|
+
* 攻擊力
|
|
347
|
+
*/
|
|
348
|
+
attackPower;
|
|
349
|
+
/**
|
|
350
|
+
* 魔力
|
|
351
|
+
*/
|
|
352
|
+
magicPower;
|
|
353
|
+
/**
|
|
354
|
+
* 防禦力
|
|
355
|
+
*/
|
|
356
|
+
armor;
|
|
357
|
+
/**
|
|
358
|
+
* 移動速度
|
|
359
|
+
*/
|
|
360
|
+
speed;
|
|
361
|
+
/**
|
|
362
|
+
* 跳躍力
|
|
363
|
+
*/
|
|
364
|
+
jump;
|
|
365
|
+
constructor(obj) {
|
|
366
|
+
super();
|
|
367
|
+
const { str, dex, int, luk, max_hp, max_mp, attack_power, magic_power, armor, speed, jump, } = obj;
|
|
368
|
+
this.str = str;
|
|
369
|
+
this.dex = dex;
|
|
370
|
+
this.int = int;
|
|
371
|
+
this.luk = luk;
|
|
372
|
+
this.maxHp = max_hp;
|
|
373
|
+
this.maxMp = max_mp;
|
|
374
|
+
this.attackPower = attack_power;
|
|
375
|
+
this.magicPower = magic_power;
|
|
376
|
+
this.armor = armor;
|
|
377
|
+
this.speed = speed;
|
|
378
|
+
this.jump = jump;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* 道具特殊選項資訊
|
|
383
|
+
*/
|
|
384
|
+
class CharacterItemEquipmentExceptionalOptionDto extends CharacterItemEquipmentExceptionalOptionDto$1 {
|
|
385
|
+
/**
|
|
386
|
+
* 力量 (STR)
|
|
387
|
+
*/
|
|
388
|
+
str;
|
|
389
|
+
/**
|
|
390
|
+
* 敏捷 (DEX)
|
|
391
|
+
*/
|
|
392
|
+
dex;
|
|
393
|
+
/**
|
|
394
|
+
* 智力 (INT)
|
|
395
|
+
*/
|
|
396
|
+
int;
|
|
397
|
+
/**
|
|
398
|
+
* 幸運 (LUK)
|
|
399
|
+
*/
|
|
400
|
+
luk;
|
|
401
|
+
/**
|
|
402
|
+
* 最大體力 (HP)
|
|
403
|
+
*/
|
|
404
|
+
maxHp;
|
|
405
|
+
/**
|
|
406
|
+
* 最大 MP
|
|
407
|
+
*/
|
|
408
|
+
maxMp;
|
|
409
|
+
/**
|
|
410
|
+
* 攻擊力
|
|
411
|
+
*/
|
|
412
|
+
attackPower;
|
|
413
|
+
/**
|
|
414
|
+
* 魔力
|
|
415
|
+
*/
|
|
416
|
+
magicPower;
|
|
417
|
+
/**
|
|
418
|
+
* 已套用的卓越強化次數
|
|
419
|
+
*/
|
|
420
|
+
exceptionalUpgrade;
|
|
421
|
+
constructor(obj) {
|
|
422
|
+
super();
|
|
423
|
+
const { str, dex, int, luk, max_hp, max_mp, attack_power, magic_power, exceptional_upgrade, } = obj;
|
|
424
|
+
this.str = str;
|
|
425
|
+
this.dex = dex;
|
|
426
|
+
this.int = int;
|
|
427
|
+
this.luk = luk;
|
|
428
|
+
this.maxHp = max_hp;
|
|
429
|
+
this.maxMp = max_mp;
|
|
430
|
+
this.attackPower = attack_power;
|
|
431
|
+
this.magicPower = magic_power;
|
|
432
|
+
this.exceptionalUpgrade = exceptional_upgrade ?? 0;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* 道具星星力量資訊
|
|
437
|
+
*/
|
|
438
|
+
class CharacterItemEquipmentStarforceOptionDto extends CharacterItemEquipmentStarforceOptionDto$1 {
|
|
439
|
+
/**
|
|
440
|
+
* 力量 (STR)
|
|
441
|
+
*/
|
|
442
|
+
str;
|
|
443
|
+
/**
|
|
444
|
+
* 敏捷 (DEX)
|
|
445
|
+
*/
|
|
446
|
+
dex;
|
|
447
|
+
/**
|
|
448
|
+
* 智力 (INT)
|
|
449
|
+
*/
|
|
450
|
+
int;
|
|
451
|
+
/**
|
|
452
|
+
* 幸運 (LUK)
|
|
453
|
+
*/
|
|
454
|
+
luk;
|
|
455
|
+
/**
|
|
456
|
+
* 最大體力 (HP)
|
|
457
|
+
*/
|
|
458
|
+
maxHp;
|
|
459
|
+
/**
|
|
460
|
+
* 最大 MP
|
|
461
|
+
*/
|
|
462
|
+
maxMp;
|
|
463
|
+
/**
|
|
464
|
+
* 攻擊力
|
|
465
|
+
*/
|
|
466
|
+
attackPower;
|
|
467
|
+
/**
|
|
468
|
+
* 魔力
|
|
469
|
+
*/
|
|
470
|
+
magicPower;
|
|
471
|
+
/**
|
|
472
|
+
* 防禦力
|
|
473
|
+
*/
|
|
474
|
+
armor;
|
|
475
|
+
/**
|
|
476
|
+
* 移動速度
|
|
477
|
+
*/
|
|
478
|
+
speed;
|
|
479
|
+
/**
|
|
480
|
+
* 跳躍力
|
|
481
|
+
*/
|
|
482
|
+
jump;
|
|
483
|
+
constructor(obj) {
|
|
484
|
+
super();
|
|
485
|
+
const { str, dex, int, luk, max_hp, max_mp, attack_power, magic_power, armor, speed, jump, } = obj;
|
|
486
|
+
this.str = str;
|
|
487
|
+
this.dex = dex;
|
|
488
|
+
this.int = int;
|
|
489
|
+
this.luk = luk;
|
|
490
|
+
this.maxHp = max_hp;
|
|
491
|
+
this.maxMp = max_mp;
|
|
492
|
+
this.attackPower = attack_power;
|
|
493
|
+
this.magicPower = magic_power;
|
|
494
|
+
this.armor = armor;
|
|
495
|
+
this.speed = speed;
|
|
496
|
+
this.jump = jump;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* 道具最終選項資訊
|
|
501
|
+
*/
|
|
502
|
+
class CharacterItemEquipmentTotalOptionDto extends CharacterItemEquipmentTotalOptionDto$1 {
|
|
503
|
+
/**
|
|
504
|
+
* 力量 (STR)
|
|
505
|
+
*/
|
|
506
|
+
str;
|
|
507
|
+
/**
|
|
508
|
+
* 敏捷 (DEX)
|
|
509
|
+
*/
|
|
510
|
+
dex;
|
|
511
|
+
/**
|
|
512
|
+
* 智力 (INT)
|
|
513
|
+
*/
|
|
514
|
+
int;
|
|
515
|
+
/**
|
|
516
|
+
* 幸運 (LUK)
|
|
517
|
+
*/
|
|
518
|
+
luk;
|
|
519
|
+
/**
|
|
520
|
+
* 最大體力 (HP)
|
|
521
|
+
*/
|
|
522
|
+
maxHp;
|
|
523
|
+
/**
|
|
524
|
+
* 最大 MP
|
|
525
|
+
*/
|
|
526
|
+
maxMp;
|
|
527
|
+
/**
|
|
528
|
+
* 攻擊力
|
|
529
|
+
*/
|
|
530
|
+
attackPower;
|
|
531
|
+
/**
|
|
532
|
+
* 魔力
|
|
533
|
+
*/
|
|
534
|
+
magicPower;
|
|
535
|
+
/**
|
|
536
|
+
* 防禦力
|
|
537
|
+
*/
|
|
538
|
+
armor;
|
|
539
|
+
/**
|
|
540
|
+
* 移動速度
|
|
541
|
+
*/
|
|
542
|
+
speed;
|
|
543
|
+
/**
|
|
544
|
+
* 跳躍力
|
|
545
|
+
*/
|
|
546
|
+
jump;
|
|
547
|
+
/**
|
|
548
|
+
* 對首領傷害增加 (%)
|
|
549
|
+
*/
|
|
550
|
+
bossDamage;
|
|
551
|
+
/**
|
|
552
|
+
* 無視怪物防禦力 (%)
|
|
553
|
+
*/
|
|
554
|
+
ignoreMonsterArmor;
|
|
555
|
+
/**
|
|
556
|
+
* 全部能力值 (%)
|
|
557
|
+
*/
|
|
558
|
+
allStat;
|
|
559
|
+
/**
|
|
560
|
+
* 傷害 (%)
|
|
561
|
+
*/
|
|
562
|
+
damage;
|
|
563
|
+
/**
|
|
564
|
+
* 裝備等級減少
|
|
565
|
+
*/
|
|
566
|
+
equipmentLevelDecrease;
|
|
567
|
+
/**
|
|
568
|
+
* 最大體力 (HP) (%)
|
|
569
|
+
*/
|
|
570
|
+
maxHpRate;
|
|
571
|
+
/**
|
|
572
|
+
* 最大 MP (%)
|
|
573
|
+
*/
|
|
574
|
+
maxMpRate;
|
|
575
|
+
constructor(obj) {
|
|
576
|
+
super();
|
|
577
|
+
const { str, dex, int, luk, max_hp, max_mp, attack_power, magic_power, armor, speed, jump, boss_damage, ignore_monster_armor, all_stat, damage, equipment_level_decrease, max_hp_rate, max_mp_rate, } = obj;
|
|
578
|
+
this.str = str;
|
|
579
|
+
this.dex = dex;
|
|
580
|
+
this.int = int;
|
|
581
|
+
this.luk = luk;
|
|
582
|
+
this.maxHp = max_hp;
|
|
583
|
+
this.maxMp = max_mp;
|
|
584
|
+
this.attackPower = attack_power;
|
|
585
|
+
this.magicPower = magic_power;
|
|
586
|
+
this.armor = armor;
|
|
587
|
+
this.speed = speed;
|
|
588
|
+
this.jump = jump;
|
|
589
|
+
this.bossDamage = boss_damage;
|
|
590
|
+
this.ignoreMonsterArmor = ignore_monster_armor;
|
|
591
|
+
this.allStat = all_stat;
|
|
592
|
+
this.damage = damage;
|
|
593
|
+
this.equipmentLevelDecrease = equipment_level_decrease;
|
|
594
|
+
this.maxHpRate = max_hp_rate;
|
|
595
|
+
this.maxMpRate = max_mp_rate;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* 龍魔導士的龍道具資訊
|
|
600
|
+
*/
|
|
601
|
+
class CharacterItemEquipmentDragonInfoDto extends CharacterItemEquipmentDragonInfoDto$1 {
|
|
602
|
+
/**
|
|
603
|
+
* 道具部位名稱
|
|
604
|
+
*/
|
|
605
|
+
itemEquipmentPart;
|
|
606
|
+
/**
|
|
607
|
+
* 道具欄位位置
|
|
608
|
+
*/
|
|
609
|
+
itemEquipmentSlot;
|
|
610
|
+
/**
|
|
611
|
+
* 道具名稱
|
|
612
|
+
*/
|
|
613
|
+
itemName;
|
|
614
|
+
/**
|
|
615
|
+
* 道具圖示
|
|
616
|
+
*/
|
|
617
|
+
itemIcon;
|
|
618
|
+
/**
|
|
619
|
+
* 道具描述
|
|
620
|
+
*/
|
|
621
|
+
itemDescription;
|
|
622
|
+
/**
|
|
623
|
+
* 道具外型
|
|
624
|
+
*/
|
|
625
|
+
itemShapeName;
|
|
626
|
+
/**
|
|
627
|
+
* 道具外型圖示
|
|
628
|
+
*/
|
|
629
|
+
itemShapeIcon;
|
|
630
|
+
/**
|
|
631
|
+
* 性別限定
|
|
632
|
+
*/
|
|
633
|
+
itemGender;
|
|
634
|
+
/**
|
|
635
|
+
* 道具最終選項資訊
|
|
636
|
+
*/
|
|
637
|
+
itemTotalOption;
|
|
638
|
+
/**
|
|
639
|
+
* 道具基本選項資訊
|
|
640
|
+
*/
|
|
641
|
+
itemBaseOption;
|
|
642
|
+
/**
|
|
643
|
+
* 裝備等級增加
|
|
644
|
+
*/
|
|
645
|
+
equipmentLevelIncrease;
|
|
646
|
+
/**
|
|
647
|
+
* 道具特殊選項資訊
|
|
648
|
+
*/
|
|
649
|
+
itemExceptionalOption;
|
|
650
|
+
/**
|
|
651
|
+
* 附加道具選項
|
|
652
|
+
*/
|
|
653
|
+
itemAddOption;
|
|
654
|
+
/**
|
|
655
|
+
* 成長經驗值
|
|
656
|
+
*/
|
|
657
|
+
growthExp;
|
|
658
|
+
/**
|
|
659
|
+
* 成長等級
|
|
660
|
+
*/
|
|
661
|
+
growthLevel;
|
|
662
|
+
/**
|
|
663
|
+
* 強化次數
|
|
664
|
+
*/
|
|
665
|
+
scrollUpgrade;
|
|
666
|
+
/**
|
|
667
|
+
* 可使用剪刀的次數 (不可交易道具、可交易但從未使用剪刀的道具:255)
|
|
668
|
+
*/
|
|
669
|
+
cuttableCount;
|
|
670
|
+
/**
|
|
671
|
+
* 黃金鐵鎚精煉 (true:已套用,false:未套用)
|
|
672
|
+
*/
|
|
673
|
+
goldenHammerFlag;
|
|
674
|
+
/**
|
|
675
|
+
* 道具可復原次數
|
|
676
|
+
*/
|
|
677
|
+
scrollResilienceCount;
|
|
678
|
+
/**
|
|
679
|
+
* 道具可升級次數
|
|
680
|
+
*/
|
|
681
|
+
scrollUpgradeableCount;
|
|
682
|
+
/**
|
|
683
|
+
* 靈魂名稱
|
|
684
|
+
*/
|
|
685
|
+
soulName;
|
|
686
|
+
/**
|
|
687
|
+
* 靈魂選項
|
|
688
|
+
*/
|
|
689
|
+
soulOption;
|
|
690
|
+
/**
|
|
691
|
+
* 道具其他選項資訊
|
|
692
|
+
*/
|
|
693
|
+
itemEtcOption;
|
|
694
|
+
/**
|
|
695
|
+
* 強化階級
|
|
696
|
+
*/
|
|
697
|
+
starforce;
|
|
698
|
+
/**
|
|
699
|
+
* 驚異道具強化卷軸 (true:已使用,false:未使用)
|
|
700
|
+
*/
|
|
701
|
+
starforceScrollFlag;
|
|
702
|
+
/**
|
|
703
|
+
* 道具星星力量資訊
|
|
704
|
+
*/
|
|
705
|
+
itemStarforceOption;
|
|
706
|
+
/**
|
|
707
|
+
* 特殊戒指等級
|
|
708
|
+
*/
|
|
709
|
+
specialRingLevel;
|
|
710
|
+
/**
|
|
711
|
+
* 道具有效期間 (TST)
|
|
712
|
+
*/
|
|
713
|
+
dateExpire = null;
|
|
714
|
+
/**
|
|
715
|
+
* Whether the equipment is expired
|
|
716
|
+
*/
|
|
717
|
+
isExpired = null;
|
|
718
|
+
constructor(obj) {
|
|
719
|
+
super();
|
|
720
|
+
const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, equipment_level_increase, item_exceptional_option, item_add_option, growth_exp, growth_level, scroll_upgrade, cuttable_count, golden_hammer_flag, scroll_resilience_count, scroll_upgradeable_count, soul_name, soul_option, item_etc_option, starforce, starforce_scroll_flag, item_starforce_option, special_ring_level, date_expire, } = obj;
|
|
721
|
+
this.itemEquipmentPart = item_equipment_part;
|
|
722
|
+
this.itemEquipmentSlot = item_equipment_slot;
|
|
723
|
+
this.itemName = item_name;
|
|
724
|
+
this.itemIcon = item_icon;
|
|
725
|
+
this.itemDescription = item_description;
|
|
726
|
+
this.itemShapeName = item_shape_name;
|
|
727
|
+
this.itemShapeIcon = item_shape_icon;
|
|
728
|
+
this.itemGender = item_gender;
|
|
729
|
+
this.itemTotalOption = new CharacterItemEquipmentTotalOptionDto(item_total_option);
|
|
730
|
+
this.itemBaseOption = new CharacterItemEquipmentBaseOptionDto(item_base_option);
|
|
731
|
+
this.equipmentLevelIncrease = equipment_level_increase;
|
|
732
|
+
this.itemExceptionalOption = new CharacterItemEquipmentExceptionalOptionDto(item_exceptional_option);
|
|
733
|
+
this.itemAddOption = new CharacterItemEquipmentAddOptionDto(item_add_option);
|
|
734
|
+
this.growthExp = growth_exp;
|
|
735
|
+
this.growthLevel = growth_level;
|
|
736
|
+
this.scrollUpgrade = scroll_upgrade;
|
|
737
|
+
this.cuttableCount = cuttable_count;
|
|
738
|
+
this.goldenHammerFlag = golden_hammer_flag;
|
|
739
|
+
this.scrollResilienceCount = scroll_resilience_count;
|
|
740
|
+
this.scrollUpgradeableCount = scroll_upgradeable_count;
|
|
741
|
+
this.soulName = soul_name;
|
|
742
|
+
this.soulOption = soul_option;
|
|
743
|
+
this.itemEtcOption = new CharacterItemEquipmentEtcOptionDto(item_etc_option);
|
|
744
|
+
this.starforce = starforce;
|
|
745
|
+
this.starforceScrollFlag = starforce_scroll_flag;
|
|
746
|
+
this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
|
|
747
|
+
this.specialRingLevel = special_ring_level;
|
|
748
|
+
if (date_expire === 'expired') {
|
|
749
|
+
this.isExpired = true;
|
|
750
|
+
}
|
|
751
|
+
else if (typeof date_expire === 'string') {
|
|
752
|
+
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* 機甲戰神道具資訊
|
|
758
|
+
*/
|
|
759
|
+
class CharacterItemEquipmentMechanicInfoDto extends CharacterItemEquipmentMechanicInfoDto$1 {
|
|
760
|
+
/**
|
|
761
|
+
* 道具部位名稱
|
|
762
|
+
*/
|
|
763
|
+
itemEquipmentPart;
|
|
764
|
+
/**
|
|
765
|
+
* 道具欄位位置
|
|
766
|
+
*/
|
|
767
|
+
itemEquipmentSlot;
|
|
768
|
+
/**
|
|
769
|
+
* 道具名稱
|
|
770
|
+
*/
|
|
771
|
+
itemName;
|
|
772
|
+
/**
|
|
773
|
+
* 道具圖示
|
|
774
|
+
*/
|
|
775
|
+
itemIcon;
|
|
776
|
+
/**
|
|
777
|
+
* 道具描述
|
|
778
|
+
*/
|
|
779
|
+
itemDescription;
|
|
780
|
+
/**
|
|
781
|
+
* 道具外型
|
|
782
|
+
*/
|
|
783
|
+
itemShapeName;
|
|
784
|
+
/**
|
|
785
|
+
* 道具外型圖示
|
|
786
|
+
*/
|
|
787
|
+
itemShapeIcon;
|
|
788
|
+
/**
|
|
789
|
+
* 性別限定
|
|
790
|
+
*/
|
|
791
|
+
itemGender;
|
|
792
|
+
/**
|
|
793
|
+
* 道具最終選項資訊
|
|
794
|
+
*/
|
|
795
|
+
itemTotalOption;
|
|
796
|
+
/**
|
|
797
|
+
* 道具基本選項資訊
|
|
798
|
+
*/
|
|
799
|
+
itemBaseOption;
|
|
800
|
+
/**
|
|
801
|
+
* 裝備等級增加
|
|
802
|
+
*/
|
|
803
|
+
equipmentLevelIncrease;
|
|
804
|
+
/**
|
|
805
|
+
* 道具特殊選項資訊
|
|
806
|
+
*/
|
|
807
|
+
itemExceptionalOption;
|
|
808
|
+
/**
|
|
809
|
+
* 附加道具選項
|
|
810
|
+
*/
|
|
811
|
+
itemAddOption;
|
|
812
|
+
/**
|
|
813
|
+
* 成長經驗值
|
|
814
|
+
*/
|
|
815
|
+
growthExp;
|
|
816
|
+
/**
|
|
817
|
+
* 成長等級
|
|
818
|
+
*/
|
|
819
|
+
growthLevel;
|
|
820
|
+
/**
|
|
821
|
+
* 強化次數
|
|
822
|
+
*/
|
|
823
|
+
scrollUpgrade;
|
|
824
|
+
/**
|
|
825
|
+
* 可使用剪刀的次數 (不可交易道具、可交易但從未使用剪刀的道具:255)
|
|
826
|
+
*/
|
|
827
|
+
cuttableCount;
|
|
828
|
+
/**
|
|
829
|
+
* 黃金鐵鎚精煉 (true:已套用,false:未套用)
|
|
830
|
+
*/
|
|
831
|
+
goldenHammerFlag;
|
|
832
|
+
/**
|
|
833
|
+
* 道具可復原次數
|
|
834
|
+
*/
|
|
835
|
+
scrollResilienceCount;
|
|
836
|
+
/**
|
|
837
|
+
* 道具可升級次數
|
|
838
|
+
*/
|
|
839
|
+
scrollUpgradeableCount;
|
|
840
|
+
/**
|
|
841
|
+
* 靈魂名稱
|
|
842
|
+
*/
|
|
843
|
+
soulName;
|
|
844
|
+
/**
|
|
845
|
+
* 靈魂選項
|
|
846
|
+
*/
|
|
847
|
+
soulOption;
|
|
848
|
+
/**
|
|
849
|
+
* 道具其他選項資訊
|
|
850
|
+
*/
|
|
851
|
+
itemEtcOption;
|
|
852
|
+
/**
|
|
853
|
+
* 強化階級
|
|
854
|
+
*/
|
|
855
|
+
starforce;
|
|
856
|
+
/**
|
|
857
|
+
* 驚異道具強化卷軸 (true:已使用,false:未使用)
|
|
858
|
+
*/
|
|
859
|
+
starforceScrollFlag;
|
|
860
|
+
/**
|
|
861
|
+
* 道具星星力量資訊
|
|
862
|
+
*/
|
|
863
|
+
itemStarforceOption;
|
|
864
|
+
/**
|
|
865
|
+
* 特殊戒指等級
|
|
866
|
+
*/
|
|
867
|
+
specialRingLevel;
|
|
868
|
+
/**
|
|
869
|
+
* 道具有效期間 (TST)
|
|
870
|
+
*/
|
|
871
|
+
dateExpire = null;
|
|
872
|
+
/**
|
|
873
|
+
* Whether the equipment is expired
|
|
874
|
+
*/
|
|
875
|
+
isExpired = null;
|
|
876
|
+
constructor(obj) {
|
|
877
|
+
super();
|
|
878
|
+
const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, equipment_level_increase, item_exceptional_option, item_add_option, growth_exp, growth_level, scroll_upgrade, cuttable_count, golden_hammer_flag, scroll_resilience_count, scroll_upgradeable_count, soul_name, soul_option, item_etc_option, starforce, starforce_scroll_flag, item_starforce_option, special_ring_level, date_expire, } = obj;
|
|
879
|
+
this.itemEquipmentPart = item_equipment_part;
|
|
880
|
+
this.itemEquipmentSlot = item_equipment_slot;
|
|
881
|
+
this.itemName = item_name;
|
|
882
|
+
this.itemIcon = item_icon;
|
|
883
|
+
this.itemDescription = item_description;
|
|
884
|
+
this.itemShapeName = item_shape_name;
|
|
885
|
+
this.itemShapeIcon = item_shape_icon;
|
|
886
|
+
this.itemGender = item_gender;
|
|
887
|
+
this.itemTotalOption = new CharacterItemEquipmentTotalOptionDto(item_total_option);
|
|
888
|
+
this.itemBaseOption = new CharacterItemEquipmentBaseOptionDto(item_base_option);
|
|
889
|
+
this.equipmentLevelIncrease = equipment_level_increase;
|
|
890
|
+
this.itemExceptionalOption = new CharacterItemEquipmentExceptionalOptionDto(item_exceptional_option);
|
|
891
|
+
this.itemAddOption = new CharacterItemEquipmentAddOptionDto(item_add_option);
|
|
892
|
+
this.growthExp = growth_exp;
|
|
893
|
+
this.growthLevel = growth_level;
|
|
894
|
+
this.scrollUpgrade = scroll_upgrade;
|
|
895
|
+
this.cuttableCount = cuttable_count;
|
|
896
|
+
this.goldenHammerFlag = golden_hammer_flag;
|
|
897
|
+
this.scrollResilienceCount = scroll_resilience_count;
|
|
898
|
+
this.scrollUpgradeableCount = scroll_upgradeable_count;
|
|
899
|
+
this.soulName = soul_name;
|
|
900
|
+
this.soulOption = soul_option;
|
|
901
|
+
this.itemEtcOption = new CharacterItemEquipmentEtcOptionDto(item_etc_option);
|
|
902
|
+
this.starforce = starforce;
|
|
903
|
+
this.starforceScrollFlag = starforce_scroll_flag;
|
|
904
|
+
this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
|
|
905
|
+
this.specialRingLevel = special_ring_level;
|
|
906
|
+
if (date_expire === 'expired') {
|
|
907
|
+
this.isExpired = true;
|
|
908
|
+
}
|
|
909
|
+
else if (typeof date_expire === 'string') {
|
|
910
|
+
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* 道具資訊
|
|
916
|
+
*/
|
|
917
|
+
class CharacterItemEquipmentInfoDto extends CharacterItemEquipmentInfoDto$1 {
|
|
918
|
+
/**
|
|
919
|
+
* 道具部位名稱
|
|
920
|
+
*/
|
|
921
|
+
itemEquipmentPart;
|
|
922
|
+
/**
|
|
923
|
+
* 道具欄位位置
|
|
924
|
+
*/
|
|
925
|
+
itemEquipmentSlot;
|
|
926
|
+
/**
|
|
927
|
+
* 道具名稱
|
|
928
|
+
*/
|
|
929
|
+
itemName;
|
|
930
|
+
/**
|
|
931
|
+
* 道具圖示
|
|
932
|
+
*/
|
|
933
|
+
itemIcon;
|
|
934
|
+
/**
|
|
935
|
+
* 道具描述
|
|
936
|
+
*/
|
|
937
|
+
itemDescription;
|
|
938
|
+
/**
|
|
939
|
+
* 道具外型
|
|
940
|
+
*/
|
|
941
|
+
itemShapeName;
|
|
942
|
+
/**
|
|
943
|
+
* 道具外型圖示
|
|
944
|
+
*/
|
|
945
|
+
itemShapeIcon;
|
|
946
|
+
/**
|
|
947
|
+
* 性別限定
|
|
948
|
+
*/
|
|
949
|
+
itemGender;
|
|
950
|
+
/**
|
|
951
|
+
* 道具最終選項資訊
|
|
952
|
+
*/
|
|
953
|
+
itemTotalOption;
|
|
954
|
+
/**
|
|
955
|
+
* 道具基本選項資訊
|
|
956
|
+
*/
|
|
957
|
+
itemBaseOption;
|
|
958
|
+
/**
|
|
959
|
+
* 潛在能力封印狀態 (true:已封印,false:未封印)
|
|
960
|
+
*/
|
|
961
|
+
potentialOptionFlag;
|
|
962
|
+
/**
|
|
963
|
+
* 附加潛在能力封印狀態 (true:已封印,false:未封印)
|
|
964
|
+
*/
|
|
965
|
+
additionalPotentialOptionFlag;
|
|
966
|
+
/**
|
|
967
|
+
* 潛在能力階級
|
|
968
|
+
*/
|
|
969
|
+
potentialOptionGrade;
|
|
970
|
+
/**
|
|
971
|
+
* 附加潛在能力階級
|
|
972
|
+
*/
|
|
973
|
+
additionalPotentialOptionGrade;
|
|
974
|
+
/**
|
|
975
|
+
* 第一潛在能力選項
|
|
976
|
+
*/
|
|
977
|
+
potentialOption1;
|
|
978
|
+
/**
|
|
979
|
+
* 第二潛在能力選項
|
|
980
|
+
*/
|
|
981
|
+
potentialOption2;
|
|
982
|
+
/**
|
|
983
|
+
* 第三潛在能力選項
|
|
984
|
+
*/
|
|
985
|
+
potentialOption3;
|
|
986
|
+
/**
|
|
987
|
+
* 第一附加潛在能力選項
|
|
988
|
+
*/
|
|
989
|
+
additionalPotentialOption1;
|
|
990
|
+
/**
|
|
991
|
+
* 第二附加潛在能力選項
|
|
992
|
+
*/
|
|
993
|
+
additionalPotentialOption2;
|
|
994
|
+
/**
|
|
995
|
+
* 第三附加潛在能力選項
|
|
996
|
+
*/
|
|
997
|
+
additionalPotentialOption3;
|
|
998
|
+
/**
|
|
999
|
+
* 裝備等級增加
|
|
1000
|
+
*/
|
|
1001
|
+
equipmentLevelIncrease;
|
|
1002
|
+
/**
|
|
1003
|
+
* 道具特殊選項資訊
|
|
1004
|
+
*/
|
|
1005
|
+
itemExceptionalOption;
|
|
1006
|
+
/**
|
|
1007
|
+
* 附加道具選項
|
|
1008
|
+
*/
|
|
1009
|
+
itemAddOption;
|
|
1010
|
+
/**
|
|
1011
|
+
* 成長經驗值
|
|
1012
|
+
*/
|
|
1013
|
+
growthExp;
|
|
1014
|
+
/**
|
|
1015
|
+
* 成長等級
|
|
1016
|
+
*/
|
|
1017
|
+
growthLevel;
|
|
1018
|
+
/**
|
|
1019
|
+
* 強化次數
|
|
1020
|
+
*/
|
|
1021
|
+
scrollUpgrade;
|
|
1022
|
+
/**
|
|
1023
|
+
* 可使用剪刀的次數 (不可交易道具、可交易但從未使用剪刀的道具:255)
|
|
1024
|
+
*/
|
|
1025
|
+
cuttableCount;
|
|
1026
|
+
/**
|
|
1027
|
+
* 黃金鐵鎚精煉 (true:已套用,false:未套用)
|
|
1028
|
+
*/
|
|
1029
|
+
goldenHammerFlag;
|
|
1030
|
+
/**
|
|
1031
|
+
* 道具可復原次數
|
|
1032
|
+
*/
|
|
1033
|
+
scrollResilienceCount;
|
|
1034
|
+
/**
|
|
1035
|
+
* 道具可升級次數
|
|
1036
|
+
*/
|
|
1037
|
+
scrollUpgradeableCount;
|
|
1038
|
+
/**
|
|
1039
|
+
* 靈魂名稱
|
|
1040
|
+
*/
|
|
1041
|
+
soulName;
|
|
1042
|
+
/**
|
|
1043
|
+
* 靈魂選項
|
|
1044
|
+
*/
|
|
1045
|
+
soulOption;
|
|
1046
|
+
/**
|
|
1047
|
+
* 道具其他選項資訊
|
|
1048
|
+
*/
|
|
1049
|
+
itemEtcOption;
|
|
1050
|
+
/**
|
|
1051
|
+
* 強化階級
|
|
1052
|
+
*/
|
|
1053
|
+
starforce;
|
|
1054
|
+
/**
|
|
1055
|
+
* 驚奇裝備強化卷軸 (true:已使用,false:未使用)
|
|
1056
|
+
*/
|
|
1057
|
+
starforceScrollFlag;
|
|
1058
|
+
/**
|
|
1059
|
+
* 道具星星力量資訊
|
|
1060
|
+
*/
|
|
1061
|
+
itemStarforceOption;
|
|
1062
|
+
/**
|
|
1063
|
+
* 特殊戒指等級
|
|
1064
|
+
*/
|
|
1065
|
+
specialRingLevel;
|
|
1066
|
+
/**
|
|
1067
|
+
* 道具有效期間 (TST)
|
|
1068
|
+
*/
|
|
1069
|
+
dateExpire = null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Whether the equipment is expired
|
|
1072
|
+
*/
|
|
1073
|
+
isExpired = null;
|
|
1074
|
+
constructor(obj) {
|
|
1075
|
+
super();
|
|
1076
|
+
const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, potential_option_flag, additional_potential_option_flag, potential_option_grade, additional_potential_option_grade, potential_option_1, potential_option_2, potential_option_3, additional_potential_option_1, additional_potential_option_2, additional_potential_option_3, equipment_level_increase, item_exceptional_option, item_add_option, growth_exp, growth_level, scroll_upgrade, cuttable_count, golden_hammer_flag, scroll_resilience_count, scroll_upgradeable_count, soul_name, soul_option, item_etc_option, starforce, starforce_scroll_flag, item_starforce_option, special_ring_level, date_expire, } = obj;
|
|
1077
|
+
this.itemEquipmentPart = item_equipment_part;
|
|
1078
|
+
this.itemEquipmentSlot = item_equipment_slot;
|
|
1079
|
+
this.itemName = item_name;
|
|
1080
|
+
this.itemIcon = item_icon;
|
|
1081
|
+
this.itemDescription = item_description;
|
|
1082
|
+
this.itemShapeName = item_shape_name;
|
|
1083
|
+
this.itemShapeIcon = item_shape_icon;
|
|
1084
|
+
this.itemGender = item_gender;
|
|
1085
|
+
this.itemTotalOption = new CharacterItemEquipmentTotalOptionDto(item_total_option);
|
|
1086
|
+
this.itemBaseOption = new CharacterItemEquipmentBaseOptionDto(item_base_option);
|
|
1087
|
+
this.potentialOptionFlag = potential_option_flag;
|
|
1088
|
+
this.additionalPotentialOptionFlag = additional_potential_option_flag;
|
|
1089
|
+
this.potentialOptionGrade = potential_option_grade;
|
|
1090
|
+
this.additionalPotentialOptionGrade = additional_potential_option_grade;
|
|
1091
|
+
this.potentialOption1 = potential_option_1;
|
|
1092
|
+
this.potentialOption2 = potential_option_2;
|
|
1093
|
+
this.potentialOption3 = potential_option_3;
|
|
1094
|
+
this.additionalPotentialOption1 = additional_potential_option_1;
|
|
1095
|
+
this.additionalPotentialOption2 = additional_potential_option_2;
|
|
1096
|
+
this.additionalPotentialOption3 = additional_potential_option_3;
|
|
1097
|
+
this.equipmentLevelIncrease = equipment_level_increase;
|
|
1098
|
+
this.itemExceptionalOption = new CharacterItemEquipmentExceptionalOptionDto(item_exceptional_option);
|
|
1099
|
+
this.itemAddOption = new CharacterItemEquipmentAddOptionDto(item_add_option);
|
|
1100
|
+
this.growthExp = growth_exp;
|
|
1101
|
+
this.growthLevel = growth_level;
|
|
1102
|
+
this.scrollUpgrade = scroll_upgrade;
|
|
1103
|
+
this.cuttableCount = cuttable_count;
|
|
1104
|
+
this.goldenHammerFlag = golden_hammer_flag;
|
|
1105
|
+
this.scrollResilienceCount = scroll_resilience_count;
|
|
1106
|
+
this.scrollUpgradeableCount = scroll_upgradeable_count;
|
|
1107
|
+
this.soulName = soul_name;
|
|
1108
|
+
this.soulOption = soul_option;
|
|
1109
|
+
this.itemEtcOption = new CharacterItemEquipmentEtcOptionDto(item_etc_option);
|
|
1110
|
+
this.starforce = starforce;
|
|
1111
|
+
this.starforceScrollFlag = starforce_scroll_flag;
|
|
1112
|
+
this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
|
|
1113
|
+
this.specialRingLevel = special_ring_level;
|
|
1114
|
+
if (date_expire === 'expired') {
|
|
1115
|
+
this.isExpired = true;
|
|
1116
|
+
}
|
|
1117
|
+
else if (typeof date_expire === 'string') {
|
|
1118
|
+
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
export { CharacterItemEquipmentAddOptionDto, CharacterItemEquipmentBaseOptionDto, CharacterItemEquipmentDragonInfoDto, CharacterItemEquipmentDto, CharacterItemEquipmentEtcOptionDto, CharacterItemEquipmentExceptionalOptionDto, CharacterItemEquipmentInfoDto, CharacterItemEquipmentMechanicInfoDto, CharacterItemEquipmentStarforceOptionDto, CharacterItemEquipmentTitleDto, CharacterItemEquipmentTotalOptionDto };
|