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,115 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var characterLinkSkill = require('../../../common/dto/character/characterLinkSkill.js');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 角色已裝備連結技能資訊
|
|
9
|
+
*/
|
|
10
|
+
class CharacterLinkSkillDto extends characterLinkSkill.CharacterLinkSkillDto {
|
|
11
|
+
/**
|
|
12
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
13
|
+
*/
|
|
14
|
+
date;
|
|
15
|
+
/**
|
|
16
|
+
* 角色職業
|
|
17
|
+
*/
|
|
18
|
+
characterClass;
|
|
19
|
+
/**
|
|
20
|
+
* 連結技能資訊
|
|
21
|
+
*/
|
|
22
|
+
characterLinkSkill;
|
|
23
|
+
/**
|
|
24
|
+
* 連結技能 1 預設資訊
|
|
25
|
+
*/
|
|
26
|
+
characterLinkSkillPreset1;
|
|
27
|
+
/**
|
|
28
|
+
* 連結技能 2 預設資訊
|
|
29
|
+
*/
|
|
30
|
+
characterLinkSkillPreset2;
|
|
31
|
+
/**
|
|
32
|
+
* 連結技能 3 預設資訊
|
|
33
|
+
*/
|
|
34
|
+
characterLinkSkillPreset3;
|
|
35
|
+
/**
|
|
36
|
+
* 我的連結技能資訊
|
|
37
|
+
*/
|
|
38
|
+
characterOwnedLinkSkill;
|
|
39
|
+
/**
|
|
40
|
+
* 我的連結技能 1 預設資訊
|
|
41
|
+
*/
|
|
42
|
+
characterOwnedLinkSkillPreset1;
|
|
43
|
+
/**
|
|
44
|
+
* 我的連結技能 2 預設資訊
|
|
45
|
+
*/
|
|
46
|
+
characterOwnedLinkSkillPreset2;
|
|
47
|
+
/**
|
|
48
|
+
* 我的連結技能 3 預設資訊
|
|
49
|
+
*/
|
|
50
|
+
characterOwnedLinkSkillPreset3;
|
|
51
|
+
constructor(obj) {
|
|
52
|
+
super();
|
|
53
|
+
const { date, character_class, character_link_skill, character_link_skill_preset_1, character_link_skill_preset_2, character_link_skill_preset_3, character_owned_link_skill, character_owned_link_skill_preset_1, character_owned_link_skill_preset_2, character_owned_link_skill_preset_3, } = obj;
|
|
54
|
+
this.date = date ? new Date(date) : null;
|
|
55
|
+
this.characterClass = character_class;
|
|
56
|
+
this.characterLinkSkill = character_link_skill.map((skill) => new CharacterLinkSkillInfoDto(skill));
|
|
57
|
+
this.characterLinkSkillPreset1 = character_link_skill_preset_1.map((skill) => new CharacterLinkSkillInfoDto(skill));
|
|
58
|
+
this.characterLinkSkillPreset2 = character_link_skill_preset_2.map((skill) => new CharacterLinkSkillInfoDto(skill));
|
|
59
|
+
this.characterLinkSkillPreset3 = character_link_skill_preset_3.map((skill) => new CharacterLinkSkillInfoDto(skill));
|
|
60
|
+
this.characterOwnedLinkSkill = character_owned_link_skill
|
|
61
|
+
? new CharacterLinkSkillInfoDto(character_owned_link_skill)
|
|
62
|
+
: null;
|
|
63
|
+
this.characterOwnedLinkSkillPreset1 = character_owned_link_skill_preset_1
|
|
64
|
+
? new CharacterLinkSkillInfoDto(character_owned_link_skill_preset_1)
|
|
65
|
+
: null;
|
|
66
|
+
this.characterOwnedLinkSkillPreset2 = character_owned_link_skill_preset_2
|
|
67
|
+
? new CharacterLinkSkillInfoDto(character_owned_link_skill_preset_2)
|
|
68
|
+
: null;
|
|
69
|
+
this.characterOwnedLinkSkillPreset3 = character_owned_link_skill_preset_3
|
|
70
|
+
? new CharacterLinkSkillInfoDto(character_owned_link_skill_preset_3)
|
|
71
|
+
: null;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* 角色連結技能資訊
|
|
76
|
+
*/
|
|
77
|
+
class CharacterLinkSkillInfoDto extends characterLinkSkill.CharacterLinkSkillInfoDto {
|
|
78
|
+
/**
|
|
79
|
+
* 技能名稱
|
|
80
|
+
*/
|
|
81
|
+
skillName;
|
|
82
|
+
/**
|
|
83
|
+
* 技能描述
|
|
84
|
+
*/
|
|
85
|
+
skillDescription;
|
|
86
|
+
/**
|
|
87
|
+
* 技能等級
|
|
88
|
+
*/
|
|
89
|
+
skillLevel;
|
|
90
|
+
/**
|
|
91
|
+
* 技能效果
|
|
92
|
+
*/
|
|
93
|
+
skillEffect;
|
|
94
|
+
/**
|
|
95
|
+
* 下一等級的技能效果
|
|
96
|
+
*/
|
|
97
|
+
skillEffectNext;
|
|
98
|
+
/**
|
|
99
|
+
* 技能圖示
|
|
100
|
+
*/
|
|
101
|
+
skillIcon;
|
|
102
|
+
constructor(obj) {
|
|
103
|
+
super();
|
|
104
|
+
const { skill_name, skill_description, skill_level, skill_effect, skill_effect_next, skill_icon, } = obj;
|
|
105
|
+
this.skillName = skill_name;
|
|
106
|
+
this.skillDescription = skill_description;
|
|
107
|
+
this.skillLevel = skill_level;
|
|
108
|
+
this.skillEffect = skill_effect;
|
|
109
|
+
this.skillEffectNext = skill_effect_next;
|
|
110
|
+
this.skillIcon = skill_icon;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
exports.CharacterLinkSkillDto = CharacterLinkSkillDto;
|
|
115
|
+
exports.CharacterLinkSkillInfoDto = CharacterLinkSkillInfoDto;
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var characterPetEquipment = require('../../../common/dto/character/characterPetEquipment.js');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 角色已裝備寵物資訊
|
|
9
|
+
*/
|
|
10
|
+
class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipmentDto {
|
|
11
|
+
/**
|
|
12
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
13
|
+
*/
|
|
14
|
+
date;
|
|
15
|
+
/**
|
|
16
|
+
* 寵物 1 名稱
|
|
17
|
+
*/
|
|
18
|
+
pet1Name;
|
|
19
|
+
/**
|
|
20
|
+
* 寵物 1 暱稱
|
|
21
|
+
*/
|
|
22
|
+
pet1Nickname;
|
|
23
|
+
/**
|
|
24
|
+
* 寵物 1 圖示
|
|
25
|
+
*/
|
|
26
|
+
pet1Icon;
|
|
27
|
+
/**
|
|
28
|
+
* 寵物 1 描述
|
|
29
|
+
*/
|
|
30
|
+
pet1Description;
|
|
31
|
+
/**
|
|
32
|
+
* 寵物 1 道具資訊
|
|
33
|
+
*/
|
|
34
|
+
pet1Equipment;
|
|
35
|
+
/**
|
|
36
|
+
* 寵物 1 的寵物自動加持技能資訊
|
|
37
|
+
*/
|
|
38
|
+
pet1AutoSkill;
|
|
39
|
+
/**
|
|
40
|
+
* 寵物 1 神奇寵物類型
|
|
41
|
+
*/
|
|
42
|
+
pet1PetType;
|
|
43
|
+
/**
|
|
44
|
+
* 寵物 1 技能
|
|
45
|
+
*/
|
|
46
|
+
pet1Skill;
|
|
47
|
+
/**
|
|
48
|
+
* 寵物 1 魔法時間 (TST,時間單位資料中的分鐘顯示為 0)
|
|
49
|
+
*/
|
|
50
|
+
pet1DateExpire = null;
|
|
51
|
+
/**
|
|
52
|
+
* Whether the magic time for pet 1 is expired
|
|
53
|
+
*/
|
|
54
|
+
pet1Expired = null;
|
|
55
|
+
/**
|
|
56
|
+
* 寵物 1 外型
|
|
57
|
+
*/
|
|
58
|
+
pet1Appearance;
|
|
59
|
+
/**
|
|
60
|
+
* 寵物 1 外型圖示
|
|
61
|
+
*/
|
|
62
|
+
pet1AppearanceIcon;
|
|
63
|
+
/**
|
|
64
|
+
* 寵物 2 名稱
|
|
65
|
+
*/
|
|
66
|
+
pet2Name;
|
|
67
|
+
/**
|
|
68
|
+
* 寵物 2 暱稱
|
|
69
|
+
*/
|
|
70
|
+
pet2Nickname;
|
|
71
|
+
/**
|
|
72
|
+
* 寵物 2 圖示
|
|
73
|
+
*/
|
|
74
|
+
pet2Icon;
|
|
75
|
+
/**
|
|
76
|
+
* 寵物 2 描述
|
|
77
|
+
*/
|
|
78
|
+
pet2Description;
|
|
79
|
+
/**
|
|
80
|
+
* 寵物 2 道具資訊
|
|
81
|
+
*/
|
|
82
|
+
pet2Equipment;
|
|
83
|
+
/**
|
|
84
|
+
* 寵物 2 的寵物自動加持技能資訊
|
|
85
|
+
*/
|
|
86
|
+
pet2AutoSkill;
|
|
87
|
+
/**
|
|
88
|
+
* 寵物 2 神奇寵物類型
|
|
89
|
+
*/
|
|
90
|
+
pet2PetType;
|
|
91
|
+
/**
|
|
92
|
+
* 寵物 2 技能
|
|
93
|
+
*/
|
|
94
|
+
pet2Skill;
|
|
95
|
+
/**
|
|
96
|
+
* 寵物 2 魔法時間 (TST,時間單位資料中的分鐘顯示為 0)
|
|
97
|
+
*/
|
|
98
|
+
pet2DateExpire = null;
|
|
99
|
+
/**
|
|
100
|
+
* Whether the magic time for pet 2 is expired
|
|
101
|
+
*/
|
|
102
|
+
pet2Expired = null;
|
|
103
|
+
/**
|
|
104
|
+
* 寵物 2 外型
|
|
105
|
+
*/
|
|
106
|
+
pet2Appearance;
|
|
107
|
+
/**
|
|
108
|
+
* 寵物 2 外型圖示
|
|
109
|
+
*/
|
|
110
|
+
pet2AppearanceIcon;
|
|
111
|
+
/**
|
|
112
|
+
* 寵物 3 名稱
|
|
113
|
+
*/
|
|
114
|
+
pet3Name;
|
|
115
|
+
/**
|
|
116
|
+
* 寵物 3 暱稱
|
|
117
|
+
*/
|
|
118
|
+
pet3Nickname;
|
|
119
|
+
/**
|
|
120
|
+
* 寵物 3 圖示
|
|
121
|
+
*/
|
|
122
|
+
pet3Icon;
|
|
123
|
+
/**
|
|
124
|
+
* 寵物 3 描述
|
|
125
|
+
*/
|
|
126
|
+
pet3Description;
|
|
127
|
+
/**
|
|
128
|
+
* 寵物 3 道具資訊
|
|
129
|
+
*/
|
|
130
|
+
pet3Equipment;
|
|
131
|
+
/**
|
|
132
|
+
* 寵物 3 的寵物自動加持技能資訊
|
|
133
|
+
*/
|
|
134
|
+
pet3AutoSkill;
|
|
135
|
+
/**
|
|
136
|
+
* 寵物 3 神奇寵物類型
|
|
137
|
+
*/
|
|
138
|
+
pet3PetType;
|
|
139
|
+
/**
|
|
140
|
+
* 寵物 3 技能
|
|
141
|
+
*/
|
|
142
|
+
pet3Skill;
|
|
143
|
+
/**
|
|
144
|
+
* 寵物 3 魔法時間 (TST,時間單位資料中的分鐘顯示為 0)
|
|
145
|
+
*/
|
|
146
|
+
pet3DateExpire = null;
|
|
147
|
+
/**
|
|
148
|
+
* Whether the magic time for pet 3 is expired
|
|
149
|
+
*/
|
|
150
|
+
pet3Expired = null;
|
|
151
|
+
/**
|
|
152
|
+
* 寵物 3 外型
|
|
153
|
+
*/
|
|
154
|
+
pet3Appearance;
|
|
155
|
+
/**
|
|
156
|
+
* 寵物 3 外型圖示
|
|
157
|
+
*/
|
|
158
|
+
pet3AppearanceIcon;
|
|
159
|
+
constructor(obj) {
|
|
160
|
+
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;
|
|
162
|
+
this.date = date ? new Date(date) : null;
|
|
163
|
+
this.pet1Name = pet_1_name;
|
|
164
|
+
this.pet1Nickname = pet_1_nickname;
|
|
165
|
+
this.pet1Icon = pet_1_icon;
|
|
166
|
+
this.pet1Description = pet_1_description;
|
|
167
|
+
this.pet1Equipment = pet_1_equipment
|
|
168
|
+
? new CharacterPetEquipmentItemDto(pet_1_equipment)
|
|
169
|
+
: null;
|
|
170
|
+
this.pet1AutoSkill = pet_1_auto_skill
|
|
171
|
+
? new CharacterPetEquipmentAutoSkillDto(pet_1_auto_skill)
|
|
172
|
+
: null;
|
|
173
|
+
this.pet1PetType = pet_1_pet_type;
|
|
174
|
+
this.pet1Skill = pet_1_skill;
|
|
175
|
+
this.pet1Appearance = pet_1_appearance;
|
|
176
|
+
this.pet1AppearanceIcon = pet_1_appearance_icon;
|
|
177
|
+
this.pet2Name = pet_2_name;
|
|
178
|
+
this.pet2Nickname = pet_2_nickname;
|
|
179
|
+
this.pet2Icon = pet_2_icon;
|
|
180
|
+
this.pet2Description = pet_2_description;
|
|
181
|
+
this.pet2Equipment = pet_2_equipment
|
|
182
|
+
? new CharacterPetEquipmentItemDto(pet_2_equipment)
|
|
183
|
+
: null;
|
|
184
|
+
this.pet2AutoSkill = pet_2_auto_skill
|
|
185
|
+
? new CharacterPetEquipmentAutoSkillDto(pet_2_auto_skill)
|
|
186
|
+
: null;
|
|
187
|
+
this.pet2PetType = pet_2_pet_type;
|
|
188
|
+
this.pet2Skill = pet_2_skill;
|
|
189
|
+
this.pet2Appearance = pet_2_appearance;
|
|
190
|
+
this.pet2AppearanceIcon = pet_2_appearance_icon;
|
|
191
|
+
this.pet3Name = pet_3_name;
|
|
192
|
+
this.pet3Nickname = pet_3_nickname;
|
|
193
|
+
this.pet3Icon = pet_3_icon;
|
|
194
|
+
this.pet3Description = pet_3_description;
|
|
195
|
+
this.pet3Equipment = pet_3_equipment
|
|
196
|
+
? new CharacterPetEquipmentItemDto(pet_3_equipment)
|
|
197
|
+
: null;
|
|
198
|
+
this.pet3AutoSkill = pet_3_auto_skill
|
|
199
|
+
? new CharacterPetEquipmentAutoSkillDto(pet_3_auto_skill)
|
|
200
|
+
: null;
|
|
201
|
+
this.pet3PetType = pet_3_pet_type;
|
|
202
|
+
this.pet3Skill = pet_3_skill;
|
|
203
|
+
this.pet3Appearance = pet_3_appearance;
|
|
204
|
+
this.pet3AppearanceIcon = pet_3_appearance_icon;
|
|
205
|
+
if (pet_1_date_expire === 'expired') {
|
|
206
|
+
this.pet1Expired = true;
|
|
207
|
+
}
|
|
208
|
+
else if (typeof pet_1_date_expire === 'string') {
|
|
209
|
+
this.pet1DateExpire = pet_1_date_expire
|
|
210
|
+
? new Date(pet_1_date_expire)
|
|
211
|
+
: null;
|
|
212
|
+
}
|
|
213
|
+
if (pet_2_date_expire === 'expired') {
|
|
214
|
+
this.pet2Expired = true;
|
|
215
|
+
}
|
|
216
|
+
else if (typeof pet_2_date_expire === 'string') {
|
|
217
|
+
this.pet2DateExpire = pet_2_date_expire
|
|
218
|
+
? new Date(pet_2_date_expire)
|
|
219
|
+
: null;
|
|
220
|
+
}
|
|
221
|
+
if (pet_3_date_expire === 'expired') {
|
|
222
|
+
this.pet3Expired = true;
|
|
223
|
+
}
|
|
224
|
+
else if (typeof pet_3_date_expire === 'string') {
|
|
225
|
+
this.pet3DateExpire = pet_3_date_expire
|
|
226
|
+
? new Date(pet_3_date_expire)
|
|
227
|
+
: null;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* 寵物的寵物自動加持技能資訊
|
|
233
|
+
*/
|
|
234
|
+
class CharacterPetEquipmentAutoSkillDto extends characterPetEquipment.CharacterPetEquipmentAutoSkillDto {
|
|
235
|
+
/**
|
|
236
|
+
* 登錄於第一欄位的自動加持技能
|
|
237
|
+
*/
|
|
238
|
+
skill1;
|
|
239
|
+
/**
|
|
240
|
+
* 登錄於第一欄位的自動加持技能圖示
|
|
241
|
+
*/
|
|
242
|
+
skill1Icon;
|
|
243
|
+
/**
|
|
244
|
+
* 登錄於第二欄位的自動加持技能
|
|
245
|
+
*/
|
|
246
|
+
skill2;
|
|
247
|
+
/**
|
|
248
|
+
* 登錄於第二欄位的自動加持技能圖示
|
|
249
|
+
*/
|
|
250
|
+
skill2Icon;
|
|
251
|
+
constructor(obj) {
|
|
252
|
+
super();
|
|
253
|
+
const { skill_1, skill_1_icon, skill_2, skill_2_icon } = obj;
|
|
254
|
+
this.skill1 = skill_1;
|
|
255
|
+
this.skill1Icon = skill_1_icon;
|
|
256
|
+
this.skill2 = skill_2;
|
|
257
|
+
this.skill2Icon = skill_2_icon;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* 道具顯示選項
|
|
262
|
+
*/
|
|
263
|
+
class CharacterPetEquipmentItemOptionDto extends characterPetEquipment.CharacterPetEquipmentItemOptionDto {
|
|
264
|
+
/**
|
|
265
|
+
* 選項類型
|
|
266
|
+
*/
|
|
267
|
+
optionType;
|
|
268
|
+
/**
|
|
269
|
+
* 選項數值
|
|
270
|
+
*/
|
|
271
|
+
optionValue;
|
|
272
|
+
constructor(obj) {
|
|
273
|
+
super();
|
|
274
|
+
const { option_type, option_value } = obj;
|
|
275
|
+
this.optionType = option_type;
|
|
276
|
+
this.optionValue = option_value;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* 寵物道具資訊
|
|
281
|
+
*/
|
|
282
|
+
class CharacterPetEquipmentItemDto extends characterPetEquipment.CharacterPetEquipmentItemDto {
|
|
283
|
+
/**
|
|
284
|
+
* 道具名稱
|
|
285
|
+
*/
|
|
286
|
+
itemName;
|
|
287
|
+
/**
|
|
288
|
+
* 道具圖示
|
|
289
|
+
*/
|
|
290
|
+
itemIcon;
|
|
291
|
+
/**
|
|
292
|
+
* 道具描述
|
|
293
|
+
*/
|
|
294
|
+
itemDescription;
|
|
295
|
+
/**
|
|
296
|
+
* 道具顯示選項
|
|
297
|
+
*/
|
|
298
|
+
itemOption;
|
|
299
|
+
/**
|
|
300
|
+
* 強化次數
|
|
301
|
+
*/
|
|
302
|
+
scrollUpgrade;
|
|
303
|
+
/**
|
|
304
|
+
* 道具可升級次數
|
|
305
|
+
*/
|
|
306
|
+
scrollUpgradable;
|
|
307
|
+
/**
|
|
308
|
+
* 道具外型
|
|
309
|
+
*/
|
|
310
|
+
itemShape;
|
|
311
|
+
/**
|
|
312
|
+
* 道具外型圖示
|
|
313
|
+
*/
|
|
314
|
+
itemShapeIcon;
|
|
315
|
+
constructor(obj) {
|
|
316
|
+
super();
|
|
317
|
+
const { item_name, item_icon, item_description, item_option, scroll_upgrade, scroll_upgradable, item_shape, item_shape_icon, } = obj;
|
|
318
|
+
this.itemName = item_name;
|
|
319
|
+
this.itemIcon = item_icon;
|
|
320
|
+
this.itemDescription = item_description;
|
|
321
|
+
this.itemOption = item_option.map((option) => new CharacterPetEquipmentItemOptionDto(option));
|
|
322
|
+
this.scrollUpgrade = scroll_upgrade;
|
|
323
|
+
this.scrollUpgradable = scroll_upgradable;
|
|
324
|
+
this.itemShape = item_shape;
|
|
325
|
+
this.itemShapeIcon = item_shape_icon;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
exports.CharacterPetEquipmentAutoSkillDto = CharacterPetEquipmentAutoSkillDto;
|
|
330
|
+
exports.CharacterPetEquipmentDto = CharacterPetEquipmentDto;
|
|
331
|
+
exports.CharacterPetEquipmentItemDto = CharacterPetEquipmentItemDto;
|
|
332
|
+
exports.CharacterPetEquipmentItemOptionDto = CharacterPetEquipmentItemOptionDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var characterPopularity = require('../../../common/dto/character/characterPopularity.js');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 角色名聲資訊
|
|
9
|
+
*/
|
|
10
|
+
class CharacterPopularityDto extends characterPopularity.CharacterPopularityDto {
|
|
11
|
+
/**
|
|
12
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
13
|
+
*/
|
|
14
|
+
date;
|
|
15
|
+
/**
|
|
16
|
+
* 角色名聲
|
|
17
|
+
*/
|
|
18
|
+
popularity;
|
|
19
|
+
constructor(obj) {
|
|
20
|
+
super();
|
|
21
|
+
const { date, popularity } = obj;
|
|
22
|
+
this.date = date ? new Date(date) : null;
|
|
23
|
+
this.popularity = popularity;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
exports.CharacterPopularityDto = CharacterPopularityDto;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var characterPropensity = require('../../../common/dto/character/characterPropensity.js');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 角色性向資訊
|
|
9
|
+
*/
|
|
10
|
+
class CharacterPropensityDto extends characterPropensity.CharacterPropensityDto {
|
|
11
|
+
/**
|
|
12
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
13
|
+
*/
|
|
14
|
+
date;
|
|
15
|
+
/**
|
|
16
|
+
* 領導力等級
|
|
17
|
+
*/
|
|
18
|
+
charismaLevel;
|
|
19
|
+
/**
|
|
20
|
+
* 感性等級
|
|
21
|
+
*/
|
|
22
|
+
sensibilityLevel;
|
|
23
|
+
/**
|
|
24
|
+
* 洞察力等級
|
|
25
|
+
*/
|
|
26
|
+
insightLevel;
|
|
27
|
+
/**
|
|
28
|
+
* 意志等級
|
|
29
|
+
*/
|
|
30
|
+
willingnessLevel;
|
|
31
|
+
/**
|
|
32
|
+
* 手藝等級
|
|
33
|
+
*/
|
|
34
|
+
handicraftLevel;
|
|
35
|
+
/**
|
|
36
|
+
* 魅力等級
|
|
37
|
+
*/
|
|
38
|
+
charmLevel;
|
|
39
|
+
constructor(obj) {
|
|
40
|
+
super();
|
|
41
|
+
const { date, charisma_level, sensibility_level, insight_level, willingness_level, handicraft_level, charm_level, } = obj;
|
|
42
|
+
this.date = date ? new Date(date) : null;
|
|
43
|
+
this.charismaLevel = charisma_level;
|
|
44
|
+
this.sensibilityLevel = sensibility_level;
|
|
45
|
+
this.insightLevel = insight_level;
|
|
46
|
+
this.willingnessLevel = willingness_level;
|
|
47
|
+
this.handicraftLevel = handicraft_level;
|
|
48
|
+
this.charmLevel = charm_level;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
exports.CharacterPropensityDto = CharacterPropensityDto;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var characterSetEffect = require('../../../common/dto/character/characterSetEffect.js');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 角色目前套用的套裝效果資訊
|
|
9
|
+
*/
|
|
10
|
+
class CharacterSetEffectDto extends characterSetEffect.CharacterSetEffectDto {
|
|
11
|
+
/**
|
|
12
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
13
|
+
*/
|
|
14
|
+
date;
|
|
15
|
+
/**
|
|
16
|
+
* 套裝效果資訊
|
|
17
|
+
*/
|
|
18
|
+
setEffect;
|
|
19
|
+
constructor(obj) {
|
|
20
|
+
super();
|
|
21
|
+
const { date, set_effect } = obj;
|
|
22
|
+
this.date = date ? new Date(date) : null;
|
|
23
|
+
this.setEffect = set_effect.map((effect) => new CharacterSetEffectSetDto(effect));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* 目前已裝備的套裝效果資訊
|
|
28
|
+
*/
|
|
29
|
+
class CharacterSetEffectInfoDto extends characterSetEffect.CharacterSetEffectInfoDto {
|
|
30
|
+
/**
|
|
31
|
+
* 套裝效果等級 (裝備件數)
|
|
32
|
+
*/
|
|
33
|
+
setCount;
|
|
34
|
+
/**
|
|
35
|
+
* 套裝效果
|
|
36
|
+
*/
|
|
37
|
+
setOption;
|
|
38
|
+
constructor(obj) {
|
|
39
|
+
super();
|
|
40
|
+
const { set_count, set_option } = obj;
|
|
41
|
+
this.setCount = set_count;
|
|
42
|
+
this.setOption = set_option;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* 全部套裝效果資訊
|
|
47
|
+
*/
|
|
48
|
+
class CharacterSetEffectOptionFullDto extends characterSetEffect.CharacterSetEffectOptionFullDto {
|
|
49
|
+
/**
|
|
50
|
+
* 套裝效果等級 (裝備件數)
|
|
51
|
+
*/
|
|
52
|
+
setCount;
|
|
53
|
+
/**
|
|
54
|
+
* 套裝效果
|
|
55
|
+
*/
|
|
56
|
+
setOption;
|
|
57
|
+
constructor(obj) {
|
|
58
|
+
super();
|
|
59
|
+
const { set_count, set_option } = obj;
|
|
60
|
+
this.setCount = set_count;
|
|
61
|
+
this.setOption = set_option;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* 套裝效果資訊
|
|
66
|
+
*/
|
|
67
|
+
class CharacterSetEffectSetDto extends characterSetEffect.CharacterSetEffectSetDto {
|
|
68
|
+
/**
|
|
69
|
+
* 套裝效果名稱
|
|
70
|
+
*/
|
|
71
|
+
setName;
|
|
72
|
+
/**
|
|
73
|
+
* 套裝件數 (包含幸運道具)
|
|
74
|
+
*/
|
|
75
|
+
totalSetCount;
|
|
76
|
+
/**
|
|
77
|
+
* 目前已裝備的套裝效果資訊
|
|
78
|
+
*/
|
|
79
|
+
setEffectInfo;
|
|
80
|
+
/**
|
|
81
|
+
* 全部套裝效果資訊
|
|
82
|
+
*/
|
|
83
|
+
setOptionFull;
|
|
84
|
+
constructor(obj) {
|
|
85
|
+
super();
|
|
86
|
+
const { set_name, total_set_count, set_effect_info, set_option_full } = obj;
|
|
87
|
+
this.setName = set_name;
|
|
88
|
+
this.totalSetCount = total_set_count;
|
|
89
|
+
this.setEffectInfo = set_effect_info.map((info) => new CharacterSetEffectInfoDto(info));
|
|
90
|
+
this.setOptionFull = set_option_full.map((info) => new CharacterSetEffectOptionFullDto(info));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
exports.CharacterSetEffectDto = CharacterSetEffectDto;
|
|
95
|
+
exports.CharacterSetEffectInfoDto = CharacterSetEffectInfoDto;
|
|
96
|
+
exports.CharacterSetEffectOptionFullDto = CharacterSetEffectOptionFullDto;
|
|
97
|
+
exports.CharacterSetEffectSetDto = CharacterSetEffectSetDto;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var characterSkill = require('../../../common/dto/character/characterSkill.js');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 角色技能與超技能資訊
|
|
9
|
+
*/
|
|
10
|
+
class CharacterSkillDto extends characterSkill.CharacterSkillDto {
|
|
11
|
+
/**
|
|
12
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
13
|
+
*/
|
|
14
|
+
date;
|
|
15
|
+
/**
|
|
16
|
+
* 角色職業
|
|
17
|
+
*/
|
|
18
|
+
characterClass;
|
|
19
|
+
/**
|
|
20
|
+
* 技能轉職次數
|
|
21
|
+
*/
|
|
22
|
+
characterSkillGrade;
|
|
23
|
+
/**
|
|
24
|
+
* 技能資訊
|
|
25
|
+
*/
|
|
26
|
+
characterSkill;
|
|
27
|
+
constructor(obj) {
|
|
28
|
+
super();
|
|
29
|
+
const { date, character_class, character_skill_grade, character_skill } = obj;
|
|
30
|
+
this.date = date ? new Date(date) : null;
|
|
31
|
+
this.characterClass = character_class;
|
|
32
|
+
this.characterSkillGrade = character_skill_grade;
|
|
33
|
+
this.characterSkill = character_skill.map((skill) => new CharacterSkillInfoDto(skill));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 技能資訊
|
|
38
|
+
*/
|
|
39
|
+
class CharacterSkillInfoDto extends characterSkill.CharacterSkillInfoDto {
|
|
40
|
+
/**
|
|
41
|
+
* 技能名稱
|
|
42
|
+
*/
|
|
43
|
+
skillName;
|
|
44
|
+
/**
|
|
45
|
+
* 技能描述
|
|
46
|
+
*/
|
|
47
|
+
skillDescription;
|
|
48
|
+
/**
|
|
49
|
+
* 技能等級
|
|
50
|
+
*/
|
|
51
|
+
skillLevel;
|
|
52
|
+
/**
|
|
53
|
+
* 技能等級的效果描述
|
|
54
|
+
*/
|
|
55
|
+
skillEffect;
|
|
56
|
+
/**
|
|
57
|
+
* 下一等級的技能效果
|
|
58
|
+
*/
|
|
59
|
+
skillEffectNext;
|
|
60
|
+
/**
|
|
61
|
+
* 技能圖示
|
|
62
|
+
*/
|
|
63
|
+
skillIcon;
|
|
64
|
+
constructor(obj) {
|
|
65
|
+
super();
|
|
66
|
+
const { skill_name, skill_description, skill_level, skill_effect, skill_effect_next, skill_icon, } = obj;
|
|
67
|
+
this.skillName = skill_name;
|
|
68
|
+
this.skillDescription = skill_description;
|
|
69
|
+
this.skillLevel = skill_level;
|
|
70
|
+
this.skillEffect = skill_effect;
|
|
71
|
+
this.skillEffectNext = skill_effect_next;
|
|
72
|
+
this.skillIcon = skill_icon;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
exports.CharacterSkillDto = CharacterSkillDto;
|
|
77
|
+
exports.CharacterSkillInfoDto = CharacterSkillInfoDto;
|