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