captainbattle 1.0.8 → 1.0.9
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/dist/core/CallID.d.ts +21 -13
- package/dist/core/CallID.js +23 -13
- package/dist/core/ListenID.d.ts +551 -501
- package/dist/core/ListenID.js +552 -501
- package/dist/core/config/BadgeCfg.d.ts +18 -4
- package/dist/core/config/BadgeCfg.js +20 -6
- package/dist/core/config/BattlePassCfg.d.ts +1 -1
- package/dist/core/config/BuffCfg.d.ts +7 -1
- package/dist/core/config/BuffCfg.js +6 -0
- package/dist/core/config/Cfg.d.ts +36 -4
- package/dist/core/config/Cfg.js +46 -6
- package/dist/core/config/ChatLogCfg.d.ts +18 -0
- package/dist/core/config/ChatLogCfg.js +17 -0
- package/dist/core/config/Const.d.ts +2 -1
- package/dist/core/config/Const.js +1 -0
- package/dist/core/config/ConstConfigCfg.d.ts +2 -0
- package/dist/core/config/ConstConfigCfg.js +2 -0
- package/dist/core/config/DragonPathCfg.d.ts +1 -1
- package/dist/core/config/EmailCfg.d.ts +5 -3
- package/dist/core/config/EmailCfg.js +7 -5
- package/dist/core/config/EndlessConfigCfg.d.ts +1 -0
- package/dist/core/config/EndlessConfigCfg.js +1 -0
- package/dist/core/config/EnemyGridCfg.d.ts +1 -1
- package/dist/core/config/FormationCfg.d.ts +1 -1
- package/dist/core/config/FuncDescCfg.d.ts +4 -0
- package/dist/core/config/FuncDescCfg.js +4 -0
- package/dist/core/config/GemCfg.d.ts +1 -1
- package/dist/core/config/GuildBossWaveCfg.d.ts +1 -0
- package/dist/core/config/GuildIslandBuildCfg.d.ts +2 -1
- package/dist/core/config/GuildIslandTaskCfg.d.ts +13 -0
- package/dist/core/config/GuildIslandTaskCfg.js +8 -0
- package/dist/core/config/ItemsCfg.d.ts +1 -1
- package/dist/core/config/PetCfg.d.ts +1 -1
- package/dist/core/config/PetConfigCfg.d.ts +7 -0
- package/dist/core/config/PetConfigCfg.js +7 -0
- package/dist/core/config/PetSkillCfg.d.ts +1 -0
- package/dist/core/config/PetSlotLvCfg.d.ts +1 -0
- package/dist/core/config/PrivilegeCfg.d.ts +1 -0
- package/dist/core/config/PrivilegeCfg.js +1 -0
- package/dist/core/config/RankListCfg.d.ts +10 -0
- package/dist/core/config/RankListCfg.js +8 -0
- package/dist/core/config/RelicDungeonConfigCfg.d.ts +0 -1
- package/dist/core/config/RelicDungeonConfigCfg.js +0 -1
- package/dist/core/config/RelicDungeonGrowCfg.d.ts +5 -0
- package/dist/core/config/RobotConfigCfg.d.ts +7 -6
- package/dist/core/config/RuleDescCfg.d.ts +6 -2
- package/dist/core/config/RuleDescCfg.js +9 -5
- package/dist/core/config/SeaArenaConfigCfg.d.ts +2 -1
- package/dist/core/config/SeaArenaConfigCfg.js +1 -0
- package/dist/core/config/SprintActivityConfigCfg.d.ts +12 -0
- package/dist/core/config/SprintActivityConfigCfg.js +12 -0
- package/dist/core/config/SprintActivityRankRewardCfg.d.ts +3 -1
- package/dist/core/config/StageCfg.d.ts +2 -0
- package/dist/core/config/TreasureMatchConfigCfg.d.ts +19 -0
- package/dist/core/config/TreasureMatchConfigCfg.js +16 -0
- package/dist/core/config/TreasureMatchIconCfg.d.ts +12 -0
- package/dist/core/config/TreasureMatchIconCfg.js +8 -0
- package/dist/core/config/TreasureMatchRankRewardCfg.d.ts +10 -0
- package/dist/core/config/TreasureMatchRankRewardCfg.js +8 -0
- package/dist/core/config/VehicleUpgradeAttrCfg.d.ts +10 -0
- package/dist/core/config/VehicleUpgradeAttrCfg.js +8 -0
- package/dist/core/config/VehicleUpgradeConfigCfg.d.ts +16 -0
- package/dist/core/config/VehicleUpgradeConfigCfg.js +13 -0
- package/dist/core/config/VehicleUpgradeLevelCfg.d.ts +13 -0
- package/dist/core/config/VehicleUpgradeLevelCfg.js +8 -0
- package/dist/core/framework/Time.d.ts +1 -0
- package/dist/core/framework/Time.js +1 -0
- package/dist/core/module/arena/ArenaBattleModule.d.ts +3 -0
- package/dist/core/module/arena/ArenaBattleModule.js +14 -2
- package/dist/core/module/battle/Game.d.ts +13 -3
- package/dist/core/module/battle/Game.js +36 -6
- package/dist/core/module/battle/IGameModule.d.ts +1 -0
- package/dist/core/module/battle/IGameModule.js +7 -3
- package/dist/core/module/battle/battle.interface.d.ts +17 -1
- package/dist/core/module/battle/battle.interface.js +3 -0
- package/dist/core/module/battle/buff/buffitem/BossCloneBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/BossCloneBuff.js +89 -0
- package/dist/core/module/battle/buff/buffitem/BossPetrifyBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/BossPetrifyBuff.js +60 -0
- package/dist/core/module/battle/buff/buffitem/BossReinforcementBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/BossReinforcementBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/ForceDizzinessBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/ForceDizzinessBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneForceDizziness.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneForceDizziness.js +18 -0
- package/dist/core/module/battle/buff/buffitem/PosionBuff.js +8 -2
- package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.d.ts +1 -1
- package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.js +4 -3
- package/dist/core/module/battle/buff/buffitem/SprintBuff.js +40 -17
- package/dist/core/module/battle/buff/buffitem/VenomBurstBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/VenomBurstBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/index.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/index.js +7 -1
- package/dist/core/module/battle/entity/FighterData.js +5 -1
- package/dist/core/module/battle/event/EntityEvent.d.ts +2 -0
- package/dist/core/module/battle/event/EntityEvent.js +2 -0
- package/dist/core/module/battle/factory/FighterFactory.js +17 -5
- package/dist/core/module/battle/fsm-state/Boss38210State.d.ts +11 -0
- package/dist/core/module/battle/fsm-state/Boss38210State.js +30 -0
- package/dist/core/module/battle/fsm-state/FighterStateProfiles.d.ts +2 -1
- package/dist/core/module/battle/fsm-state/FighterStateProfiles.js +4 -2
- package/dist/core/module/battle/fsm-state/TurnState.js +4 -4
- package/dist/core/module/battle/fsm-state/TurnTransitions.js +4 -4
- package/dist/core/module/battle/fsm-state/index.d.ts +1 -0
- package/dist/core/module/battle/fsm-state/index.js +2 -1
- package/dist/core/module/battle/manager/EntityManager.js +7 -3
- package/dist/core/module/battle/skill/emitter/SkillTargetHorRandomEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillTargetHorRandomEmitter.js +62 -0
- package/dist/core/module/battle/skill/emitter/index.d.ts +1 -0
- package/dist/core/module/battle/skill/emitter/index.js +2 -1
- package/dist/core/module/battle/skill/impacts/Impact101.js +1 -0
- package/dist/core/module/battle/skill/impacts/Impact3.js +2 -1
- package/dist/core/module/battle/skill/impacts/Impact5.js +5 -1
- package/dist/core/module/battle/system/BornSystem.js +4 -0
- package/dist/core/module/battle/system/BuffSystem.js +9 -3
- package/dist/core/module/battle/system/SkillSystem.js +1 -1
- package/dist/core/module/battle/system/TurnPhaseSystem.js +1 -1
- package/dist/core/module/battle/target/RandomPosSelection.d.ts +4 -0
- package/dist/core/module/battle/target/RandomPosSelection.js +61 -0
- package/dist/core/module/battle/target/index.d.ts +1 -0
- package/dist/core/module/battle/target/index.js +2 -1
- package/dist/core/module/battle/turn/TurnBattleGame.d.ts +11 -3
- package/dist/core/module/battle/turn/TurnBattleGame.js +53 -12
- package/dist/core/module/battle/turn/TurnBattleModule.js +2 -2
- package/dist/core/module/battle/turn/TurnBattleTypes.d.ts +1 -6
- package/dist/core/module/battle/turn/TurnBattleTypes.js +1 -4
- package/dist/core/module/battle/util/BattleConfig.js +2 -2
- package/dist/core/module/battle/util/BattleUtils.d.ts +7 -1
- package/dist/core/module/battle/util/BattleUtils.js +67 -33
- package/dist/core/module/guild/island/battle/GuildIsLandBattleModule.d.ts +11 -0
- package/dist/core/module/guild/island/battle/GuildIsLandBattleModule.js +44 -0
- package/dist/core/module/guild/island/battle/index.d.ts +1 -0
- package/dist/core/module/guild/island/battle/index.js +13 -0
- package/dist/core/module/guild/view/boss/GuildBossBattleModule.js +1 -0
- package/dist/core/module/module.interface.d.ts +24 -0
- package/dist/core/module/module.interface.js +3 -0
- package/dist/core/module/property/Property.d.ts +2 -1
- package/dist/core/module/property/Property.js +8 -7
- package/dist/core/module/property/PropertyUtil.d.ts +17 -0
- package/dist/core/module/property/PropertyUtil.js +75 -1
- package/dist/core/module/relicDungeon/RelicBattleModule.d.ts +18 -0
- package/dist/core/module/relicDungeon/RelicBattleModule.js +148 -5
- package/dist/core/proto/CommonProto.d.ts +8740 -4068
- package/dist/core/proto/Proto.d.ts +129 -39
- package/dist/index.d.ts +47 -4
- package/dist/index.js +58 -4
- package/dist/register-all.d.ts +1 -0
- package/dist/register-all.js +1 -0
- package/package.json +1 -1
package/dist/core/CallID.d.ts
CHANGED
|
@@ -131,17 +131,25 @@ export declare enum CallID {
|
|
|
131
131
|
Guild_GetLevel = 1128,
|
|
132
132
|
Guild_HasGuild = 1129,
|
|
133
133
|
Guild_GetLogs = 1130,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
134
|
+
Guild_GetSelfRole = 1131,
|
|
135
|
+
GuildCS_GetCurRallyInfo = 1132,
|
|
136
|
+
GuildCS_GetIsLandInfo = 1133,
|
|
137
|
+
GuildCS_GetActiveIsLandInfo = 1134,
|
|
138
|
+
GuildCS_GetPreviousIsLandInfo = 1135,
|
|
139
|
+
GuildCS_GetNextIsLandInfo = 1136,
|
|
140
|
+
GuildCS_CheckIsRevengeTarget = 1137,
|
|
141
|
+
Rank_ReqPlayerInfo = 1138,
|
|
142
|
+
Rank_GetMyRankInfo = 1139,
|
|
143
|
+
DailyTrial_GetPassCount = 1140,
|
|
144
|
+
DailyTrial_GetMatchStageCfg = 1141,
|
|
145
|
+
Pet_GetPets = 1142,
|
|
146
|
+
Pet_GetSlots = 1143,
|
|
147
|
+
Friend_GetInfoByUserId = 1144,
|
|
148
|
+
Friend_CheckInBlockByUserId = 1145,
|
|
149
|
+
Codex_GetTurretModUnlockRecord = 1146,
|
|
150
|
+
Guild_GetRank = 1147,
|
|
151
|
+
Arena_GetTierInfoByScore = 1148,
|
|
152
|
+
TurretMod_GetEquipMap = 1149,
|
|
153
|
+
TeamBoss_GetInfo = 1150,
|
|
154
|
+
TeamBoss_CheckBossIsOpen = 1151
|
|
147
155
|
}
|
package/dist/core/CallID.js
CHANGED
|
@@ -171,24 +171,34 @@ var CallID;
|
|
|
171
171
|
CallID[CallID["Guild_GetLevel"] = 1128] = "Guild_GetLevel";
|
|
172
172
|
CallID[CallID["Guild_HasGuild"] = 1129] = "Guild_HasGuild";
|
|
173
173
|
CallID[CallID["Guild_GetLogs"] = 1130] = "Guild_GetLogs";
|
|
174
|
+
CallID[CallID["Guild_GetSelfRole"] = 1131] = "Guild_GetSelfRole";
|
|
174
175
|
//船队争霸赛
|
|
175
|
-
CallID[CallID["
|
|
176
|
-
CallID[CallID["
|
|
176
|
+
CallID[CallID["GuildCS_GetCurRallyInfo"] = 1132] = "GuildCS_GetCurRallyInfo";
|
|
177
|
+
CallID[CallID["GuildCS_GetIsLandInfo"] = 1133] = "GuildCS_GetIsLandInfo";
|
|
178
|
+
CallID[CallID["GuildCS_GetActiveIsLandInfo"] = 1134] = "GuildCS_GetActiveIsLandInfo";
|
|
179
|
+
CallID[CallID["GuildCS_GetPreviousIsLandInfo"] = 1135] = "GuildCS_GetPreviousIsLandInfo";
|
|
180
|
+
CallID[CallID["GuildCS_GetNextIsLandInfo"] = 1136] = "GuildCS_GetNextIsLandInfo";
|
|
181
|
+
CallID[CallID["GuildCS_CheckIsRevengeTarget"] = 1137] = "GuildCS_CheckIsRevengeTarget";
|
|
177
182
|
//排行榜模块
|
|
178
|
-
CallID[CallID["Rank_ReqPlayerInfo"] =
|
|
183
|
+
CallID[CallID["Rank_ReqPlayerInfo"] = 1138] = "Rank_ReqPlayerInfo";
|
|
184
|
+
CallID[CallID["Rank_GetMyRankInfo"] = 1139] = "Rank_GetMyRankInfo";
|
|
179
185
|
//每日试炼模块
|
|
180
|
-
CallID[CallID["DailyTrial_GetPassCount"] =
|
|
181
|
-
CallID[CallID["DailyTrial_GetMatchStageCfg"] =
|
|
182
|
-
|
|
186
|
+
CallID[CallID["DailyTrial_GetPassCount"] = 1140] = "DailyTrial_GetPassCount";
|
|
187
|
+
CallID[CallID["DailyTrial_GetMatchStageCfg"] = 1141] = "DailyTrial_GetMatchStageCfg";
|
|
188
|
+
// TurretMod_GetEquip,
|
|
183
189
|
// 宠物模块
|
|
184
|
-
CallID[CallID["Pet_GetPets"] =
|
|
185
|
-
CallID[CallID["Pet_GetSlots"] =
|
|
190
|
+
CallID[CallID["Pet_GetPets"] = 1142] = "Pet_GetPets";
|
|
191
|
+
CallID[CallID["Pet_GetSlots"] = 1143] = "Pet_GetSlots";
|
|
186
192
|
//好友模块
|
|
187
|
-
CallID[CallID["Friend_GetInfoByUserId"] =
|
|
188
|
-
CallID[CallID["Friend_CheckInBlockByUserId"] =
|
|
189
|
-
CallID[CallID["Codex_GetTurretModUnlockRecord"] =
|
|
193
|
+
CallID[CallID["Friend_GetInfoByUserId"] = 1144] = "Friend_GetInfoByUserId";
|
|
194
|
+
CallID[CallID["Friend_CheckInBlockByUserId"] = 1145] = "Friend_CheckInBlockByUserId";
|
|
195
|
+
CallID[CallID["Codex_GetTurretModUnlockRecord"] = 1146] = "Codex_GetTurretModUnlockRecord";
|
|
190
196
|
// 自己公会在指定榜单中的缓存名次,0 表示暂无名次。
|
|
191
|
-
CallID[CallID["Guild_GetRank"] =
|
|
197
|
+
CallID[CallID["Guild_GetRank"] = 1147] = "Guild_GetRank";
|
|
192
198
|
//竞技场模块
|
|
193
|
-
CallID[CallID["Arena_GetTierInfoByScore"] =
|
|
199
|
+
CallID[CallID["Arena_GetTierInfoByScore"] = 1148] = "Arena_GetTierInfoByScore";
|
|
200
|
+
CallID[CallID["TurretMod_GetEquipMap"] = 1149] = "TurretMod_GetEquipMap";
|
|
201
|
+
//组队Boss模块
|
|
202
|
+
CallID[CallID["TeamBoss_GetInfo"] = 1150] = "TeamBoss_GetInfo";
|
|
203
|
+
CallID[CallID["TeamBoss_CheckBossIsOpen"] = 1151] = "TeamBoss_CheckBossIsOpen";
|
|
194
204
|
})(CallID || (exports.CallID = CallID = {}));
|