maplestory-openapi 3.9.0 → 3.11.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 (77) hide show
  1. package/README.md +2 -0
  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/battlePractice/battlePracticeCharacterInfo.js +2566 -0
  5. package/dist/cjs/maplestory/api/kms/dto/battlePractice/battlePracticeReplayId.js +41 -0
  6. package/dist/cjs/maplestory/api/kms/dto/battlePractice/battlePracticeResult.js +101 -0
  7. package/dist/cjs/maplestory/api/kms/dto/battlePractice/battlePracticeSkillTimeline.js +61 -0
  8. package/dist/cjs/maplestory/api/kms/dto/character/characterHexaMatrix.js +6 -1
  9. package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +92 -1
  10. package/dist/cjs/maplestory/api/kms/dto/character/characterPetEquipment.js +223 -1
  11. package/dist/cjs/maplestory/api/kms/dto/character/characterVMatrix.js +50 -1
  12. package/dist/cjs/maplestory/api/kms/dto/scheduler/schedulerCharacterState.js +177 -0
  13. package/dist/cjs/maplestory/api/kms/dto/union/unionRaider.js +35 -1
  14. package/dist/cjs/maplestory/api/kms/kms.js +76 -0
  15. package/dist/cjs/maplestory/api/kms/mapleStoryApi.js +118 -14
  16. package/dist/cjs/maplestory/api/kms/mapleStoryFriendsApi.js +1 -1
  17. package/dist/cjs/maplestory/api/msea/mapleStoryApi.js +1 -1
  18. package/dist/cjs/maplestory/api/tms/dto/character/characterFamiliar.js +156 -0
  19. package/dist/cjs/maplestory/api/tms/dto/character/characterPetEquipment.js +45 -1
  20. package/dist/cjs/maplestory/api/tms/mapleStoryApi.js +33 -1
  21. package/dist/cjs/maplestory/api/tms/tms.js +6 -0
  22. package/dist/cjs/node_modules/base64-js/index.js +1 -1
  23. package/dist/cjs/node_modules/buffer/index.js +2 -2
  24. package/dist/cjs/node_modules/ieee754/index.js +1 -1
  25. package/dist/esm/_virtual/index.js_commonjs-exports2.js +2 -2
  26. package/dist/esm/_virtual/index.js_commonjs-exports3.js +2 -2
  27. package/dist/esm/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.js +2506 -0
  28. package/dist/esm/maplestory/api/kms/dto/battlePractice/battlePracticeReplayId.js +36 -0
  29. package/dist/esm/maplestory/api/kms/dto/battlePractice/battlePracticeResult.js +96 -0
  30. package/dist/esm/maplestory/api/kms/dto/battlePractice/battlePracticeSkillTimeline.js +56 -0
  31. package/dist/esm/maplestory/api/kms/dto/character/characterHexaMatrix.js +6 -1
  32. package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +92 -2
  33. package/dist/esm/maplestory/api/kms/dto/character/characterPetEquipment.js +223 -2
  34. package/dist/esm/maplestory/api/kms/dto/character/characterVMatrix.js +50 -2
  35. package/dist/esm/maplestory/api/kms/dto/scheduler/schedulerCharacterState.js +170 -0
  36. package/dist/esm/maplestory/api/kms/dto/union/unionRaider.js +35 -2
  37. package/dist/esm/maplestory/api/kms/kms.js +9 -4
  38. package/dist/esm/maplestory/api/kms/mapleStoryApi.js +118 -14
  39. package/dist/esm/maplestory/api/kms/mapleStoryFriendsApi.js +1 -1
  40. package/dist/esm/maplestory/api/msea/mapleStoryApi.js +1 -1
  41. package/dist/esm/maplestory/api/tms/dto/character/characterFamiliar.js +149 -0
  42. package/dist/esm/maplestory/api/tms/dto/character/characterPetEquipment.js +45 -2
  43. package/dist/esm/maplestory/api/tms/mapleStoryApi.js +33 -1
  44. package/dist/esm/maplestory/api/tms/tms.js +2 -1
  45. package/dist/esm/node_modules/base64-js/index.js +2 -2
  46. package/dist/esm/node_modules/buffer/index.js +2 -2
  47. package/dist/esm/node_modules/ieee754/index.js +2 -2
  48. package/package.json +6 -5
  49. package/types/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.d.ts +1959 -0
  50. package/types/maplestory/api/kms/dto/battlePractice/battlePracticeReplayId.d.ts +29 -0
  51. package/types/maplestory/api/kms/dto/battlePractice/battlePracticeResult.d.ts +77 -0
  52. package/types/maplestory/api/kms/dto/battlePractice/battlePracticeSkillTimeline.d.ts +45 -0
  53. package/types/maplestory/api/kms/dto/character/characterHexaMatrix.d.ts +4 -0
  54. package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +63 -1
  55. package/types/maplestory/api/kms/dto/character/characterPetEquipment.d.ts +163 -1
  56. package/types/maplestory/api/kms/dto/character/characterVMatrix.d.ts +39 -1
  57. package/types/maplestory/api/kms/dto/scheduler/schedulerCharacterState.d.ts +137 -0
  58. package/types/maplestory/api/kms/dto/union/unionRaider.d.ts +27 -1
  59. package/types/maplestory/api/kms/index.d.ts +5 -0
  60. package/types/maplestory/api/kms/mapleStoryApi.d.ts +57 -8
  61. package/types/maplestory/api/kms/mapleStoryFriendsApi.d.ts +2 -2
  62. package/types/maplestory/api/kms/response/battlePractice/battlePracticeCharacterInfoBody.d.ts +518 -0
  63. package/types/maplestory/api/kms/response/battlePractice/battlePracticeReplayIdBody.d.ts +8 -0
  64. package/types/maplestory/api/kms/response/battlePractice/battlePracticeResultBody.d.ts +20 -0
  65. package/types/maplestory/api/kms/response/battlePractice/battlePracticeSkillTimelineBody.d.ts +12 -0
  66. package/types/maplestory/api/kms/response/character/characterHexaMatrixBody.d.ts +1 -0
  67. package/types/maplestory/api/kms/response/character/characterItemEquipmentBody.d.ts +15 -0
  68. package/types/maplestory/api/kms/response/character/characterPetEquipmentBody.d.ts +41 -0
  69. package/types/maplestory/api/kms/response/character/characterVMatrixBody.d.ts +11 -1
  70. package/types/maplestory/api/kms/response/scheduler/schedulerCharacterStateBody.d.ts +36 -0
  71. package/types/maplestory/api/kms/response/union/unionRaiderBody.d.ts +7 -0
  72. package/types/maplestory/api/tms/dto/character/characterFamiliar.d.ts +117 -0
  73. package/types/maplestory/api/tms/dto/character/characterPetEquipment.d.ts +35 -1
  74. package/types/maplestory/api/tms/index.d.ts +1 -0
  75. package/types/maplestory/api/tms/mapleStoryApi.d.ts +12 -0
  76. package/types/maplestory/api/tms/response/character/characterFamiliarBody.d.ts +31 -0
  77. package/types/maplestory/api/tms/response/character/characterPetEquipmentBody.d.ts +9 -0
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /**
6
+ * 연무장 리플레이 식별자 목록
7
+ */
8
+ class BattlePracticeReplayIdDto {
9
+ /**
10
+ * 리플레이 목록
11
+ */
12
+ replayList;
13
+ constructor(obj) {
14
+ this.replayList = obj.replay_list.map((r) => new BattlePracticeReplayIdInfoDto(r));
15
+ }
16
+ }
17
+ /**
18
+ * 연무장 리플레이 식별자 상세 정보
19
+ */
20
+ class BattlePracticeReplayIdInfoDto {
21
+ /**
22
+ * 기간 번호 (연무장 초기화 시마다 1씩 증가됩니다.)
23
+ */
24
+ periodNo;
25
+ /**
26
+ * 리플레이 등록 일시 (KST)
27
+ */
28
+ registerDate;
29
+ /**
30
+ * 연무장 리플레이 고유 식별자
31
+ */
32
+ replayId;
33
+ constructor(obj) {
34
+ this.periodNo = obj.period_no;
35
+ this.registerDate = new Date(obj.register_date);
36
+ this.replayId = obj.replay_id;
37
+ }
38
+ }
39
+
40
+ exports.BattlePracticeReplayIdDto = BattlePracticeReplayIdDto;
41
+ exports.BattlePracticeReplayIdInfoDto = BattlePracticeReplayIdInfoDto;
@@ -0,0 +1,101 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /**
6
+ * 연무장 측정 결과 정보
7
+ */
8
+ class BattlePracticeResultDto {
9
+ /**
10
+ * 리플레이 등록 일시 (KST)
11
+ */
12
+ registerDate;
13
+ /**
14
+ * 총 연무 시간 (ms)
15
+ */
16
+ totalPlayTime;
17
+ /**
18
+ * 총합 데미지
19
+ */
20
+ totalDamage;
21
+ /**
22
+ * 초당 평균 데미지
23
+ */
24
+ totalDps;
25
+ /**
26
+ * 종료 타입 (1:자동 종료, 2:수동 종료, 3:시간 초과, 9:기타 종료)
27
+ */
28
+ endType;
29
+ /**
30
+ * 리플레이 추천 수
31
+ */
32
+ likeCount;
33
+ /**
34
+ * 스킬 단위 전투 분석 정보
35
+ */
36
+ skillStatistic;
37
+ constructor(obj) {
38
+ this.registerDate = new Date(obj.register_date);
39
+ this.totalPlayTime = obj.total_play_time;
40
+ this.totalDamage = obj.total_damage;
41
+ this.totalDps = obj.total_dps;
42
+ this.endType = obj.end_type;
43
+ this.likeCount = obj.like_count;
44
+ this.skillStatistic = obj.skill_statistic.map((s) => new BattlePracticeSkillStatisticDto(s));
45
+ }
46
+ }
47
+ /**
48
+ * 연무장 스킬 단위 전투 분석 정보
49
+ */
50
+ class BattlePracticeSkillStatisticDto {
51
+ /**
52
+ * 스킬 명
53
+ */
54
+ skillName;
55
+ /**
56
+ * 누적 데미지
57
+ */
58
+ damage;
59
+ /**
60
+ * 데미지 점유율
61
+ */
62
+ damagePercent;
63
+ /**
64
+ * 초당 평균 데미지
65
+ */
66
+ dps;
67
+ /**
68
+ * 사용 횟수
69
+ */
70
+ useCount;
71
+ /**
72
+ * 1회당 평균 데미지
73
+ */
74
+ damagePerUse;
75
+ /**
76
+ * 공격 횟수
77
+ */
78
+ attackCount;
79
+ /**
80
+ * 최대 데미지 (1타)
81
+ */
82
+ maxDamage;
83
+ /**
84
+ * 최소 데미지 (1타)
85
+ */
86
+ minDamage;
87
+ constructor(obj) {
88
+ this.skillName = obj.skill_name;
89
+ this.damage = obj.damage;
90
+ this.damagePercent = obj.damage_percent;
91
+ this.dps = obj.dps;
92
+ this.useCount = obj.use_count;
93
+ this.damagePerUse = obj.damage_per_use;
94
+ this.attackCount = obj.attack_count;
95
+ this.maxDamage = obj.max_damage;
96
+ this.minDamage = obj.min_damage;
97
+ }
98
+ }
99
+
100
+ exports.BattlePracticeResultDto = BattlePracticeResultDto;
101
+ exports.BattlePracticeSkillStatisticDto = BattlePracticeSkillStatisticDto;
@@ -0,0 +1,61 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /**
6
+ * 연무장 스킬 사용 내역
7
+ */
8
+ class BattlePracticeSkillTimelineDto {
9
+ /**
10
+ * 조회된 페이지 번호
11
+ */
12
+ pageNo;
13
+ /**
14
+ * 전체 페이지 번호
15
+ */
16
+ totalPageNo;
17
+ /**
18
+ * 스킬 타임라인 정보
19
+ */
20
+ skillTimeline;
21
+ constructor(obj) {
22
+ this.pageNo = obj.page_no;
23
+ this.totalPageNo = obj.total_page_no;
24
+ this.skillTimeline = obj.skill_timeline.map((event) => new BattlePracticeSkillTimelineEventDto(event));
25
+ }
26
+ }
27
+ /**
28
+ * 연무장 스킬 타임라인
29
+ */
30
+ class BattlePracticeSkillTimelineEventDto {
31
+ /**
32
+ * 연무 시작 후 경과 시간 (ms)
33
+ */
34
+ elapseTime;
35
+ /**
36
+ * 사용한 스킬 명
37
+ */
38
+ skillName;
39
+ /**
40
+ * 헥사 스킬 특성 여부 (0:그 외 스킬, 1:오리진 스킬, 2:어센트 스킬)
41
+ */
42
+ hexaSkillSpecificityFlag;
43
+ /**
44
+ * 시퀀스 명
45
+ */
46
+ sequenceName;
47
+ /**
48
+ * 시퀀스 키
49
+ */
50
+ sequenceKey;
51
+ constructor(obj) {
52
+ this.elapseTime = obj.elapse_time;
53
+ this.skillName = obj.skill_name;
54
+ this.hexaSkillSpecificityFlag = obj.hexa_skill_specificity_flag;
55
+ this.sequenceName = obj.sequence_name;
56
+ this.sequenceKey = obj.sequence_key;
57
+ }
58
+ }
59
+
60
+ exports.BattlePracticeSkillTimelineDto = BattlePracticeSkillTimelineDto;
61
+ exports.BattlePracticeSkillTimelineEventDto = BattlePracticeSkillTimelineEventDto;
@@ -50,6 +50,10 @@ class CharacterHexaMatrixEquipmentDto extends characterHexaMatrix.CharacterHexaM
50
50
  * 코어 레벨
51
51
  */
52
52
  hexaCoreLevel;
53
+ /**
54
+ * 코어 이벤트 레벨
55
+ */
56
+ hexaCoreEventLevel;
53
57
  /**
54
58
  * 코어 타입
55
59
  */
@@ -60,9 +64,10 @@ class CharacterHexaMatrixEquipmentDto extends characterHexaMatrix.CharacterHexaM
60
64
  linkedSkill;
61
65
  constructor(obj) {
62
66
  super();
63
- const { hexa_core_name, hexa_core_level, hexa_core_type, linked_skill } = obj;
67
+ const { hexa_core_name, hexa_core_level, hexa_core_event_level, hexa_core_type, linked_skill } = obj;
64
68
  this.hexaCoreName = hexa_core_name;
65
69
  this.hexaCoreLevel = hexa_core_level;
70
+ this.hexaCoreEventLevel = hexa_core_event_level;
66
71
  this.hexaCoreType = hexa_core_type;
67
72
  this.linkedSkill = linked_skill.map((skill) => new CharacterHexaMatrixEquipmentLinkedSkillDto(skill));
68
73
  }
@@ -82,6 +82,10 @@ class CharacterItemEquipmentDto extends characterItemEquipment.CharacterItemEqui
82
82
  * 캐릭터 칭호 아이템 정보
83
83
  */
84
84
  class CharacterItemEquipmentTitleDto extends characterItemEquipment.CharacterItemEquipmentTitleDto {
85
+ /**
86
+ * 적용 중인 프리셋 번호
87
+ */
88
+ presetNo;
85
89
  /**
86
90
  * 칭호 장비 명
87
91
  */
@@ -122,15 +126,37 @@ class CharacterItemEquipmentTitleDto extends characterItemEquipment.CharacterIte
122
126
  * 외형 설정에 등록한 칭호 설명
123
127
  */
124
128
  titleShapeDescription;
129
+ /**
130
+ * 프리셋 1번 칭호 정보
131
+ */
132
+ titlePreset1;
133
+ /**
134
+ * 프리셋 2번 칭호 정보
135
+ */
136
+ titlePreset2;
137
+ /**
138
+ * 프리셋 3번 칭호 정보
139
+ */
140
+ titlePreset3;
125
141
  constructor(obj) {
126
142
  super();
127
- const { title_name, title_icon, title_description, date_expire, date_option_expire, title_shape_name, title_shape_icon, title_shape_description, } = obj;
143
+ const { preset_no, title_name, title_icon, title_description, date_expire, date_option_expire, title_shape_name, title_shape_icon, title_shape_description, title_preset_1, title_preset_2, title_preset_3, } = obj;
144
+ this.presetNo = preset_no;
128
145
  this.titleName = title_name;
129
146
  this.titleIcon = title_icon;
130
147
  this.titleDescription = title_description;
131
148
  this.titleShapeName = title_shape_name;
132
149
  this.titleShapeIcon = title_shape_icon;
133
150
  this.titleShapeDescription = title_shape_description;
151
+ this.titlePreset1 = title_preset_1
152
+ ? new CharacterItemEquipmentTitlePresetDto(title_preset_1)
153
+ : null;
154
+ this.titlePreset2 = title_preset_2
155
+ ? new CharacterItemEquipmentTitlePresetDto(title_preset_2)
156
+ : null;
157
+ this.titlePreset3 = title_preset_3
158
+ ? new CharacterItemEquipmentTitlePresetDto(title_preset_3)
159
+ : null;
134
160
  if (date_expire === 'expired') {
135
161
  this.isExpired = true;
136
162
  }
@@ -147,6 +173,70 @@ class CharacterItemEquipmentTitleDto extends characterItemEquipment.CharacterIte
147
173
  }
148
174
  }
149
175
  }
176
+ /**
177
+ * 캐릭터 장비 칭호 프리셋 정보
178
+ */
179
+ class CharacterItemEquipmentTitlePresetDto {
180
+ /**
181
+ * 칭호 장비 명
182
+ */
183
+ titleName;
184
+ /**
185
+ * 칭호 아이콘
186
+ */
187
+ titleIcon;
188
+ /**
189
+ * 칭호 설명
190
+ */
191
+ titleDescription;
192
+ /**
193
+ * 칭호 유효 기간 (KST)
194
+ */
195
+ dateExpire;
196
+ /**
197
+ * 칭호 옵션 유효 기간 (expired:만료, null:무제한) (KST)
198
+ */
199
+ dateOptionExpire = null;
200
+ /**
201
+ * 칭호 옵션 유효 기간 만료 여부
202
+ */
203
+ isOptionExpired = null;
204
+ /**
205
+ * 외형 설정에 등록한 칭호 장비 명
206
+ */
207
+ titleShapeName;
208
+ /**
209
+ * 외형 설정에 등록한 칭호 아이콘
210
+ */
211
+ titleShapeIcon;
212
+ /**
213
+ * 외형 설정에 등록한 칭호 설명
214
+ */
215
+ titleShapeDescription;
216
+ /**
217
+ * 비활성화 여부
218
+ */
219
+ disableFlag;
220
+ constructor(obj) {
221
+ const { title_name, title_icon, title_description, date_expire, date_option_expire, title_shape_name, title_shape_icon, title_shape_description, disable_flag, } = obj;
222
+ this.titleName = title_name;
223
+ this.titleIcon = title_icon;
224
+ this.titleDescription = title_description;
225
+ this.dateExpire = date_expire ? new Date(date_expire) : null;
226
+ this.titleShapeName = title_shape_name;
227
+ this.titleShapeIcon = title_shape_icon;
228
+ this.titleShapeDescription = title_shape_description;
229
+ this.disableFlag = disable_flag;
230
+ if (date_option_expire === 'expired') {
231
+ this.isOptionExpired = true;
232
+ }
233
+ else if (typeof date_option_expire === 'string') {
234
+ this.dateOptionExpire = date_option_expire
235
+ ? new Date(date_option_expire)
236
+ : null;
237
+ }
238
+ }
239
+ }
150
240
  /**
151
241
  * 캐릭터 외형 설정에 등록한 훈장 외형 정보
152
242
  */
@@ -1214,4 +1304,5 @@ exports.CharacterItemEquipmentMechanicInfoDto = CharacterItemEquipmentMechanicIn
1214
1304
  exports.CharacterItemEquipmentMedalShapeDto = CharacterItemEquipmentMedalShapeDto;
1215
1305
  exports.CharacterItemEquipmentStarforceOptionDto = CharacterItemEquipmentStarforceOptionDto;
1216
1306
  exports.CharacterItemEquipmentTitleDto = CharacterItemEquipmentTitleDto;
1307
+ exports.CharacterItemEquipmentTitlePresetDto = CharacterItemEquipmentTitlePresetDto;
1217
1308
  exports.CharacterItemEquipmentTotalOptionDto = CharacterItemEquipmentTotalOptionDto;
@@ -12,6 +12,10 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
12
12
  * 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기)
13
13
  */
14
14
  date;
15
+ /**
16
+ * 활성화된 펫 유형 (0:캐릭터 펫, 1:월드 공유 펫)
17
+ */
18
+ petActivateFlag;
15
19
  /**
16
20
  * 펫1 명
17
21
  */
@@ -156,10 +160,147 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
156
160
  * 펫3 외형 아이콘
157
161
  */
158
162
  pet3AppearanceIcon;
163
+ /**
164
+ * 월드 공유 펫1 명
165
+ */
166
+ worldSharePet1Name;
167
+ /**
168
+ * 월드 공유 펫1 닉네임
169
+ */
170
+ worldSharePet1Nickname;
171
+ /**
172
+ * 월드 공유 펫1 아이콘
173
+ */
174
+ worldSharePet1Icon;
175
+ /**
176
+ * 월드 공유 펫1 설명
177
+ */
178
+ worldSharePet1Description;
179
+ /**
180
+ * 월드 공유 펫1 원더 펫 종류
181
+ */
182
+ worldSharePet1PetType;
183
+ /**
184
+ * 월드 공유 펫1 장착 정보
185
+ */
186
+ worldSharePet1Equipment;
187
+ /**
188
+ * 월드 공유 펫1 버프 자동스킬 정보
189
+ */
190
+ worldSharePet1AutoSkill;
191
+ /**
192
+ * 월드 공유 펫1 펫 보유 스킬
193
+ */
194
+ worldSharePet1Skill;
195
+ /**
196
+ * 월드 공유 펫1 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
197
+ */
198
+ worldSharePet1DateExpire;
199
+ /**
200
+ * 월드 공유 펫1 외형 명
201
+ */
202
+ worldSharePet1Appearance;
203
+ /**
204
+ * 월드 공유 펫1 외형 아이콘
205
+ */
206
+ worldSharePet1AppearanceIcon;
207
+ /**
208
+ * 월드 공유 펫2 명
209
+ */
210
+ worldSharePet2Name;
211
+ /**
212
+ * 월드 공유 펫2 닉네임
213
+ */
214
+ worldSharePet2Nickname;
215
+ /**
216
+ * 월드 공유 펫2 아이콘
217
+ */
218
+ worldSharePet2Icon;
219
+ /**
220
+ * 월드 공유 펫2 설명
221
+ */
222
+ worldSharePet2Description;
223
+ /**
224
+ * 월드 공유 펫2 원더 펫 종류
225
+ */
226
+ worldSharePet2PetType;
227
+ /**
228
+ * 월드 공유 펫2 장착 정보
229
+ */
230
+ worldSharePet2Equipment;
231
+ /**
232
+ * 월드 공유 펫2 버프 자동스킬 정보
233
+ */
234
+ worldSharePet2AutoSkill;
235
+ /**
236
+ * 월드 공유 펫2 펫 보유 스킬
237
+ */
238
+ worldSharePet2Skill;
239
+ /**
240
+ * 월드 공유 펫2 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
241
+ */
242
+ worldSharePet2DateExpire;
243
+ /**
244
+ * 월드 공유 펫2 외형 명
245
+ */
246
+ worldSharePet2Appearance;
247
+ /**
248
+ * 월드 공유 펫2 외형 아이콘
249
+ */
250
+ worldSharePet2AppearanceIcon;
251
+ /**
252
+ * 월드 공유 펫3 명
253
+ */
254
+ worldSharePet3Name;
255
+ /**
256
+ * 월드 공유 펫3 닉네임
257
+ */
258
+ worldSharePet3Nickname;
259
+ /**
260
+ * 월드 공유 펫3 아이콘
261
+ */
262
+ worldSharePet3Icon;
263
+ /**
264
+ * 월드 공유 펫3 설명
265
+ */
266
+ worldSharePet3Description;
267
+ /**
268
+ * 월드 공유 펫3 원더 펫 종류
269
+ */
270
+ worldSharePet3PetType;
271
+ /**
272
+ * 월드 공유 펫3 장착 정보
273
+ */
274
+ worldSharePet3Equipment;
275
+ /**
276
+ * 월드 공유 펫3 버프 자동스킬 정보
277
+ */
278
+ worldSharePet3AutoSkill;
279
+ /**
280
+ * 월드 공유 펫3 펫 보유 스킬
281
+ */
282
+ worldSharePet3Skill;
283
+ /**
284
+ * 월드 공유 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
285
+ */
286
+ worldSharePet3DateExpire;
287
+ /**
288
+ * 월드 공유 펫3 외형 명
289
+ */
290
+ worldSharePet3Appearance;
291
+ /**
292
+ * 월드 공유 펫3 외형 아이콘
293
+ */
294
+ worldSharePet3AppearanceIcon;
295
+ /**
296
+ * 루나 쁘띠 펫 스킬 정보
297
+ */
298
+ petiteLunaPetSkill;
159
299
  constructor(obj) {
160
300
  super();
161
- const { date, pet_1_name, pet_1_nickname, pet_1_icon, pet_1_description, pet_1_equipment, pet_1_auto_skill, pet_1_pet_type, pet_1_skill, pet_1_date_expire, pet_1_appearance, pet_1_appearance_icon, pet_2_name, pet_2_nickname, pet_2_icon, pet_2_description, pet_2_equipment, pet_2_auto_skill, pet_2_pet_type, pet_2_skill, pet_2_date_expire, pet_2_appearance, pet_2_appearance_icon, pet_3_name, pet_3_nickname, pet_3_icon, pet_3_description, pet_3_equipment, pet_3_auto_skill, pet_3_pet_type, pet_3_skill, pet_3_date_expire, pet_3_appearance, pet_3_appearance_icon, } = obj;
301
+ const { date, pet_activate_flag, pet_1_name, pet_1_nickname, pet_1_icon, pet_1_description, pet_1_equipment, pet_1_auto_skill, pet_1_pet_type, pet_1_skill, pet_1_date_expire, pet_1_appearance, pet_1_appearance_icon, pet_2_name, pet_2_nickname, pet_2_icon, pet_2_description, pet_2_equipment, pet_2_auto_skill, pet_2_pet_type, pet_2_skill, pet_2_date_expire, pet_2_appearance, pet_2_appearance_icon, pet_3_name, pet_3_nickname, pet_3_icon, pet_3_description, pet_3_equipment, pet_3_auto_skill, pet_3_pet_type, pet_3_skill, pet_3_date_expire, pet_3_appearance, pet_3_appearance_icon, world_share_pet_1_name, world_share_pet_1_nickname, world_share_pet_1_icon, world_share_pet_1_description, world_share_pet_1_pet_type, world_share_pet_1_equipment, world_share_pet_1_auto_skill, world_share_pet_1_skill, world_share_pet_1_date_expire, world_share_pet_1_appearance, world_share_pet_1_appearance_icon, world_share_pet_2_name, world_share_pet_2_nickname, world_share_pet_2_icon, world_share_pet_2_description, world_share_pet_2_pet_type, world_share_pet_2_equipment, world_share_pet_2_auto_skill, world_share_pet_2_skill, world_share_pet_2_date_expire, world_share_pet_2_appearance, world_share_pet_2_appearance_icon, world_share_pet_3_name, world_share_pet_3_nickname, world_share_pet_3_icon, world_share_pet_3_description, world_share_pet_3_pet_type, world_share_pet_3_equipment, world_share_pet_3_auto_skill, world_share_pet_3_skill, world_share_pet_3_date_expire, world_share_pet_3_appearance, world_share_pet_3_appearance_icon, petite_luna_pet_skill, } = obj;
162
302
  this.date = date ? new Date(date) : null;
303
+ this.petActivateFlag = pet_activate_flag;
163
304
  this.pet1Name = pet_1_name;
164
305
  this.pet1Nickname = pet_1_nickname;
165
306
  this.pet1Icon = pet_1_icon;
@@ -226,6 +367,58 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
226
367
  ? new Date(pet_3_date_expire)
227
368
  : null;
228
369
  }
370
+ this.worldSharePet1Name = world_share_pet_1_name;
371
+ this.worldSharePet1Nickname = world_share_pet_1_nickname;
372
+ this.worldSharePet1Icon = world_share_pet_1_icon;
373
+ this.worldSharePet1Description = world_share_pet_1_description;
374
+ this.worldSharePet1PetType = world_share_pet_1_pet_type;
375
+ this.worldSharePet1Equipment = world_share_pet_1_equipment
376
+ ? new CharacterPetEquipmentItemDto(world_share_pet_1_equipment)
377
+ : null;
378
+ this.worldSharePet1AutoSkill = world_share_pet_1_auto_skill
379
+ ? new CharacterPetEquipmentAutoSkillDto(world_share_pet_1_auto_skill)
380
+ : null;
381
+ this.worldSharePet1Skill = world_share_pet_1_skill;
382
+ this.worldSharePet1DateExpire = world_share_pet_1_date_expire
383
+ ? new Date(world_share_pet_1_date_expire)
384
+ : null;
385
+ this.worldSharePet1Appearance = world_share_pet_1_appearance;
386
+ this.worldSharePet1AppearanceIcon = world_share_pet_1_appearance_icon;
387
+ this.worldSharePet2Name = world_share_pet_2_name;
388
+ this.worldSharePet2Nickname = world_share_pet_2_nickname;
389
+ this.worldSharePet2Icon = world_share_pet_2_icon;
390
+ this.worldSharePet2Description = world_share_pet_2_description;
391
+ this.worldSharePet2PetType = world_share_pet_2_pet_type;
392
+ this.worldSharePet2Equipment = world_share_pet_2_equipment
393
+ ? new CharacterPetEquipmentItemDto(world_share_pet_2_equipment)
394
+ : null;
395
+ this.worldSharePet2AutoSkill = world_share_pet_2_auto_skill
396
+ ? new CharacterPetEquipmentAutoSkillDto(world_share_pet_2_auto_skill)
397
+ : null;
398
+ this.worldSharePet2Skill = world_share_pet_2_skill;
399
+ this.worldSharePet2DateExpire = world_share_pet_2_date_expire
400
+ ? new Date(world_share_pet_2_date_expire)
401
+ : null;
402
+ this.worldSharePet2Appearance = world_share_pet_2_appearance;
403
+ this.worldSharePet2AppearanceIcon = world_share_pet_2_appearance_icon;
404
+ this.worldSharePet3Name = world_share_pet_3_name;
405
+ this.worldSharePet3Nickname = world_share_pet_3_nickname;
406
+ this.worldSharePet3Icon = world_share_pet_3_icon;
407
+ this.worldSharePet3Description = world_share_pet_3_description;
408
+ this.worldSharePet3PetType = world_share_pet_3_pet_type;
409
+ this.worldSharePet3Equipment = world_share_pet_3_equipment
410
+ ? new CharacterPetEquipmentItemDto(world_share_pet_3_equipment)
411
+ : null;
412
+ this.worldSharePet3AutoSkill = world_share_pet_3_auto_skill
413
+ ? new CharacterPetEquipmentAutoSkillDto(world_share_pet_3_auto_skill)
414
+ : null;
415
+ this.worldSharePet3Skill = world_share_pet_3_skill;
416
+ this.worldSharePet3DateExpire = world_share_pet_3_date_expire
417
+ ? new Date(world_share_pet_3_date_expire)
418
+ : null;
419
+ this.worldSharePet3Appearance = world_share_pet_3_appearance;
420
+ this.worldSharePet3AppearanceIcon = world_share_pet_3_appearance_icon;
421
+ this.petiteLunaPetSkill = (petite_luna_pet_skill ?? []).map((skill) => new CharacterPetEquipmentPetiteLunaPetSkillDto(skill));
229
422
  }
230
423
  }
231
424
  /**
@@ -276,6 +469,34 @@ class CharacterPetEquipmentItemOptionDto extends characterPetEquipment.Character
276
469
  this.optionValue = option_value;
277
470
  }
278
471
  }
472
+ /**
473
+ * 캐릭터 펫 루나 쁘띠 펫 스킬 정보
474
+ */
475
+ class CharacterPetEquipmentPetiteLunaPetSkillDto {
476
+ /**
477
+ * 스킬 명
478
+ */
479
+ skillName;
480
+ /**
481
+ * 스킬 설명
482
+ */
483
+ skillDescription;
484
+ /**
485
+ * 스킬 효과 설명
486
+ */
487
+ skillEffect;
488
+ /**
489
+ * 스킬 아이콘
490
+ */
491
+ skillIcon;
492
+ constructor(obj) {
493
+ const { skill_name, skill_description, skill_effect, skill_icon } = obj;
494
+ this.skillName = skill_name;
495
+ this.skillDescription = skill_description;
496
+ this.skillEffect = skill_effect;
497
+ this.skillIcon = skill_icon;
498
+ }
499
+ }
279
500
  /**
280
501
  * 캐릭터 펫 장비 아이템 정보
281
502
  */
@@ -335,3 +556,4 @@ exports.CharacterPetEquipmentAutoSkillDto = CharacterPetEquipmentAutoSkillDto;
335
556
  exports.CharacterPetEquipmentDto = CharacterPetEquipmentDto;
336
557
  exports.CharacterPetEquipmentItemDto = CharacterPetEquipmentItemDto;
337
558
  exports.CharacterPetEquipmentItemOptionDto = CharacterPetEquipmentItemOptionDto;
559
+ exports.CharacterPetEquipmentPetiteLunaPetSkillDto = CharacterPetEquipmentPetiteLunaPetSkillDto;
@@ -24,14 +24,62 @@ class CharacterVMatrixDto extends characterVMatrix.CharacterVMatrixDto {
24
24
  * 캐릭터 잔여 매트릭스 강화 포인트
25
25
  */
26
26
  characterVMatrixRemainSlotUpgradePoint;
27
+ /**
28
+ * 프리셋 1의 V코어 정보
29
+ */
30
+ characterVCoreEquipmentPreset1;
31
+ /**
32
+ * 프리셋 2의 V코어 정보
33
+ */
34
+ characterVCoreEquipmentPreset2;
35
+ /**
36
+ * 프리셋 3의 V코어 정보
37
+ */
38
+ characterVCoreEquipmentPreset3;
39
+ /**
40
+ * 프리셋 4의 V코어 정보
41
+ */
42
+ characterVCoreEquipmentPreset4;
43
+ /**
44
+ * 프리셋 5의 V코어 정보
45
+ */
46
+ characterVCoreEquipmentPreset5;
27
47
  constructor(obj) {
28
48
  super();
29
- const { date, character_class, character_v_core_equipment, character_v_matrix_remain_slot_upgrade_point, } = obj;
49
+ const { date, character_class, character_v_core_equipment, character_v_matrix_remain_slot_upgrade_point, character_v_core_equipment_preset_1, character_v_core_equipment_preset_2, character_v_core_equipment_preset_3, character_v_core_equipment_preset_4, character_v_core_equipment_preset_5, } = obj;
30
50
  this.date = date ? new Date(date) : null;
31
51
  this.characterClass = character_class;
32
52
  this.characterVCoreEquipment = character_v_core_equipment.map((equipment) => new CharacterVMatrixCodeEquipmentDto(equipment));
33
53
  this.characterVMatrixRemainSlotUpgradePoint =
34
54
  character_v_matrix_remain_slot_upgrade_point;
55
+ this.characterVCoreEquipmentPreset1 = (character_v_core_equipment_preset_1 ?? []).map((core) => new CharacterVMatrixCoreEquipmentPresetDto(core));
56
+ this.characterVCoreEquipmentPreset2 = (character_v_core_equipment_preset_2 ?? []).map((core) => new CharacterVMatrixCoreEquipmentPresetDto(core));
57
+ this.characterVCoreEquipmentPreset3 = (character_v_core_equipment_preset_3 ?? []).map((core) => new CharacterVMatrixCoreEquipmentPresetDto(core));
58
+ this.characterVCoreEquipmentPreset4 = (character_v_core_equipment_preset_4 ?? []).map((core) => new CharacterVMatrixCoreEquipmentPresetDto(core));
59
+ this.characterVCoreEquipmentPreset5 = (character_v_core_equipment_preset_5 ?? []).map((core) => new CharacterVMatrixCoreEquipmentPresetDto(core));
60
+ }
61
+ }
62
+ /**
63
+ * 캐릭터 V코어 프리셋 정보
64
+ */
65
+ class CharacterVMatrixCoreEquipmentPresetDto {
66
+ /**
67
+ * 코어 명
68
+ */
69
+ vCoreName;
70
+ /**
71
+ * 코어 타입
72
+ */
73
+ vCoreType;
74
+ /**
75
+ * 코어의 레벨
76
+ */
77
+ vCoreLevel;
78
+ constructor(obj) {
79
+ const { v_core_name, v_core_type, v_core_level } = obj;
80
+ this.vCoreName = v_core_name;
81
+ this.vCoreType = v_core_type;
82
+ this.vCoreLevel = v_core_level;
35
83
  }
36
84
  }
37
85
  /**
@@ -89,4 +137,5 @@ class CharacterVMatrixCodeEquipmentDto extends characterVMatrix.CharacterVMatrix
89
137
  }
90
138
 
91
139
  exports.CharacterVMatrixCodeEquipmentDto = CharacterVMatrixCodeEquipmentDto;
140
+ exports.CharacterVMatrixCoreEquipmentPresetDto = CharacterVMatrixCoreEquipmentPresetDto;
92
141
  exports.CharacterVMatrixDto = CharacterVMatrixDto;