maplestory-openapi 3.3.0 → 3.4.1
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/dto/character/characterRingExchangeSkillEquipment.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/dto/character/characterRingExchangeSkillEquipment.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/characterRingExchangeSkillEquipment.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/kms/response/character/characterRingExchangeSkillEquipmentBody.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,205 @@
|
|
|
1
|
+
import { UnionRaiderDto as UnionRaiderDto$1, UnionRaiderInnerStatDto as UnionRaiderInnerStatDto$1, UnionRaiderBlockPositionDto as UnionRaiderBlockPositionDto$1, UnionRaiderBlockControlPointDto as UnionRaiderBlockControlPointDto$1, UnionRaiderBlockDto as UnionRaiderBlockDto$1, UnionRaiderPresetDto as UnionRaiderPresetDto$1 } from '../../../common/dto/union/unionRaider.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 戰地攻擊隊資訊
|
|
5
|
+
*/
|
|
6
|
+
class UnionRaiderDto extends UnionRaiderDto$1 {
|
|
7
|
+
/**
|
|
8
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
9
|
+
*/
|
|
10
|
+
date;
|
|
11
|
+
/**
|
|
12
|
+
* 戰地攻擊隊員效果
|
|
13
|
+
*/
|
|
14
|
+
unionRaiderStat;
|
|
15
|
+
/**
|
|
16
|
+
* 戰地攻擊隊佔領效果
|
|
17
|
+
*/
|
|
18
|
+
unionOccupiedStat;
|
|
19
|
+
/**
|
|
20
|
+
* 戰地攻擊隊部署
|
|
21
|
+
*/
|
|
22
|
+
unionInnerStat;
|
|
23
|
+
/**
|
|
24
|
+
* 聯盟方塊資訊
|
|
25
|
+
*/
|
|
26
|
+
unionBlock;
|
|
27
|
+
/**
|
|
28
|
+
* 目前套用的預設編號
|
|
29
|
+
*/
|
|
30
|
+
usePresetNo;
|
|
31
|
+
/**
|
|
32
|
+
* 聯盟預設 1 資訊
|
|
33
|
+
*/
|
|
34
|
+
unionRaiderPreset1;
|
|
35
|
+
/**
|
|
36
|
+
* 聯盟預設 2 資訊
|
|
37
|
+
*/
|
|
38
|
+
unionRaiderPreset2;
|
|
39
|
+
/**
|
|
40
|
+
* 聯盟預設 3 資訊
|
|
41
|
+
*/
|
|
42
|
+
unionRaiderPreset3;
|
|
43
|
+
/**
|
|
44
|
+
* 聯盟預設 4 資訊
|
|
45
|
+
*/
|
|
46
|
+
unionRaiderPreset4;
|
|
47
|
+
/**
|
|
48
|
+
* 聯盟預設 5 資訊
|
|
49
|
+
*/
|
|
50
|
+
unionRaiderPreset5;
|
|
51
|
+
constructor(obj) {
|
|
52
|
+
super();
|
|
53
|
+
const { date, union_raider_stat, union_occupied_stat, union_inner_stat, union_block, use_preset_no, union_raider_preset_1, union_raider_preset_2, union_raider_preset_3, union_raider_preset_4, union_raider_preset_5, } = obj;
|
|
54
|
+
this.date = date ? new Date(date) : null;
|
|
55
|
+
this.unionRaiderStat = union_raider_stat;
|
|
56
|
+
this.unionOccupiedStat = union_occupied_stat;
|
|
57
|
+
this.unionInnerStat = union_inner_stat.map((stat) => new UnionRaiderInnerStatDto(stat));
|
|
58
|
+
this.unionBlock = union_block.map((block) => new UnionRaiderBlockDto(block));
|
|
59
|
+
this.usePresetNo = use_preset_no;
|
|
60
|
+
this.unionRaiderPreset1 = union_raider_preset_1
|
|
61
|
+
? new UnionRaiderPresetDto(union_raider_preset_1)
|
|
62
|
+
: null;
|
|
63
|
+
this.unionRaiderPreset2 = union_raider_preset_2
|
|
64
|
+
? new UnionRaiderPresetDto(union_raider_preset_2)
|
|
65
|
+
: null;
|
|
66
|
+
this.unionRaiderPreset3 = union_raider_preset_3
|
|
67
|
+
? new UnionRaiderPresetDto(union_raider_preset_3)
|
|
68
|
+
: null;
|
|
69
|
+
this.unionRaiderPreset4 = union_raider_preset_4
|
|
70
|
+
? new UnionRaiderPresetDto(union_raider_preset_4)
|
|
71
|
+
: null;
|
|
72
|
+
this.unionRaiderPreset5 = union_raider_preset_5
|
|
73
|
+
? new UnionRaiderPresetDto(union_raider_preset_5)
|
|
74
|
+
: null;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* 戰地攻擊隊部署
|
|
79
|
+
*/
|
|
80
|
+
class UnionRaiderInnerStatDto extends UnionRaiderInnerStatDto$1 {
|
|
81
|
+
/**
|
|
82
|
+
* 攻擊單位部署位置 (以 11 點鐘方向為起點,順時針 0-7)
|
|
83
|
+
*/
|
|
84
|
+
statFieldId;
|
|
85
|
+
/**
|
|
86
|
+
* 相關區域佔領效果
|
|
87
|
+
*/
|
|
88
|
+
statFieldEffect;
|
|
89
|
+
constructor(obj) {
|
|
90
|
+
super();
|
|
91
|
+
const { stat_field_id, stat_field_effect } = obj;
|
|
92
|
+
this.statFieldId = stat_field_id;
|
|
93
|
+
this.statFieldEffect = stat_field_effect;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* 方塊佔領區域的座標
|
|
98
|
+
*/
|
|
99
|
+
class UnionRaiderBlockPositionDto extends UnionRaiderBlockPositionDto$1 {
|
|
100
|
+
/**
|
|
101
|
+
* 方塊 x 座標
|
|
102
|
+
*/
|
|
103
|
+
x;
|
|
104
|
+
/**
|
|
105
|
+
* 方塊 y 座標
|
|
106
|
+
*/
|
|
107
|
+
y;
|
|
108
|
+
constructor(obj) {
|
|
109
|
+
super();
|
|
110
|
+
const { x, y } = obj;
|
|
111
|
+
this.x = x;
|
|
112
|
+
this.y = y;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* 方塊基準點座標
|
|
117
|
+
* - 四個中央方塊的右下角為位置 x : 0, y : 0
|
|
118
|
+
* - 向左移動一格,x 減少 1
|
|
119
|
+
* - 向右移動一格,x 增加 1
|
|
120
|
+
* - 向下移動一格,y 減少 1
|
|
121
|
+
* - 向上移動一格,y 增加 1
|
|
122
|
+
*/
|
|
123
|
+
class UnionRaiderBlockControlPointDto extends UnionRaiderBlockControlPointDto$1 {
|
|
124
|
+
/**
|
|
125
|
+
* 方塊基準點 x 座標
|
|
126
|
+
*/
|
|
127
|
+
x;
|
|
128
|
+
/**
|
|
129
|
+
* 方塊基準點 y 座標
|
|
130
|
+
*/
|
|
131
|
+
y;
|
|
132
|
+
constructor(obj) {
|
|
133
|
+
super();
|
|
134
|
+
const { x, y } = obj;
|
|
135
|
+
this.x = x;
|
|
136
|
+
this.y = y;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* 聯盟方塊資訊
|
|
141
|
+
*/
|
|
142
|
+
class UnionRaiderBlockDto extends UnionRaiderBlockDto$1 {
|
|
143
|
+
/**
|
|
144
|
+
* 方塊編制 (戰士、法師、弓箭手、盜賊、海盜、混合)
|
|
145
|
+
*/
|
|
146
|
+
blockType;
|
|
147
|
+
/**
|
|
148
|
+
* 方塊角色職業
|
|
149
|
+
*/
|
|
150
|
+
blockClass;
|
|
151
|
+
/**
|
|
152
|
+
* 方塊角色等級
|
|
153
|
+
*/
|
|
154
|
+
blockLevel;
|
|
155
|
+
/**
|
|
156
|
+
* 方塊基準點座標
|
|
157
|
+
*/
|
|
158
|
+
blockControlPoint;
|
|
159
|
+
/**
|
|
160
|
+
* 方塊佔領區域的座標 (null:未部署時)
|
|
161
|
+
*/
|
|
162
|
+
blockPosition;
|
|
163
|
+
constructor(obj) {
|
|
164
|
+
super();
|
|
165
|
+
const { block_type, block_class, block_level, block_control_point, block_position, } = obj;
|
|
166
|
+
this.blockType = block_type;
|
|
167
|
+
this.blockClass = block_class;
|
|
168
|
+
this.blockLevel = block_level;
|
|
169
|
+
this.blockControlPoint = new UnionRaiderBlockControlPointDto(block_control_point);
|
|
170
|
+
this.blockPosition = block_position
|
|
171
|
+
? block_position.map((position) => new UnionRaiderBlockPositionDto(position))
|
|
172
|
+
: null;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* 聯盟預設 資訊
|
|
177
|
+
*/
|
|
178
|
+
class UnionRaiderPresetDto extends UnionRaiderPresetDto$1 {
|
|
179
|
+
/**
|
|
180
|
+
* 戰地攻擊隊員效果
|
|
181
|
+
*/
|
|
182
|
+
unionRaiderStat;
|
|
183
|
+
/**
|
|
184
|
+
* 戰地攻擊隊佔領效果
|
|
185
|
+
*/
|
|
186
|
+
unionOccupiedStat;
|
|
187
|
+
/**
|
|
188
|
+
* 戰地攻擊隊部署
|
|
189
|
+
*/
|
|
190
|
+
unionInnerStat;
|
|
191
|
+
/**
|
|
192
|
+
* 聯盟方塊資訊
|
|
193
|
+
*/
|
|
194
|
+
unionBlock;
|
|
195
|
+
constructor(obj) {
|
|
196
|
+
super();
|
|
197
|
+
const { union_raider_stat, union_occupied_stat, union_inner_stat, union_block, } = obj;
|
|
198
|
+
this.unionRaiderStat = union_raider_stat;
|
|
199
|
+
this.unionOccupiedStat = union_occupied_stat;
|
|
200
|
+
this.unionInnerStat = union_inner_stat.map((stat) => new UnionRaiderInnerStatDto(stat));
|
|
201
|
+
this.unionBlock = union_block.map((block) => new UnionRaiderBlockDto(block));
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export { UnionRaiderBlockControlPointDto, UnionRaiderBlockDto, UnionRaiderBlockPositionDto, UnionRaiderDto, UnionRaiderInnerStatDto, UnionRaiderPresetDto };
|